Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/#14 닉네임 입력 화면 개발 #30

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from

Conversation

posite
Copy link
Member

@posite posite commented Oct 16, 2023

🧨이슈

🔍 상세 내용 (해결 내용)

  • 닉네임 입력 화면 개발
  • 개인정보입력화면 전환 테스트

💡 참고자료 및 공유할만한 자료 (선택)

❕후속 진행 이슈

@posite posite added the 로그인 + 가입 로그인 + 가입 화면 개발 라벨 label Oct 16, 2023
binding.viewpagerButton.setTextColor(ContextCompat.getColor(requireContext(), R.color.white))
} else {
binding.viewpagerButton.setTextColor(ContextCompat.getColor(requireContext(), R.color.grey_909090))
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

biding이 공통적으로 사용되는 거 같아 보이는데, with(binding)을 사용해 중복되는 단어를 줄여보는 건 어떤가요?? 각 View들의 속성을 설정하는 부분을 따로 메서드로 생성해 가독성을 높이는 것도 좋아 보이네요.

fun setViewPagerButton(nickname: string) {
    with (binding.viewpagerButton) {
        isEnabled = nickname.isNotEmpty()
        if (isEnabled) {
            setTextColor(ContextCompat.getColor(requireContext(), R.color.white))
        } else {
            setTextColor(ContextCompat.getColor(requireContext(), R.color.grey_909090))
        }
    }
}

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

with(binding)을 적용해보겠습니다!

<variable
name="vm"
type="com.owori.android.auth.ui.viewmodel.NickNameViewModel" />
</data>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

variable이 NickNameViewModel이군요. 해당 fragment는 NickNameViewModel과 연관이 없는 듯 하니 관련 없는 코드는 삭제 부탁드립니다.

<variable
name="vm"
type="com.owori.android.auth.ui.viewmodel.NickNameViewModel" />
</data>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

마찬가지입니다~
variable이 NickNameViewModel이군요. 해당 fragment는 NickNameViewModel과 연관이 없는 듯 하니 관련 없는 코드는 삭제 부탁드립니다.


<variable
name="vm"
type="com.owori.android.auth.ui.viewmodel.NickNameViewModel" />
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이것도요~
variable이 NickNameViewModel이군요. 해당 fragment는 NickNameViewModel과 연관이 없는 듯 하니 관련 없는 코드는 삭제 부탁드립니다.

app/src/main/res/layout/fragment_nick_name.xml Outdated Show resolved Hide resolved
android:layout_height="wrap_content"
android:textAppearance="@style/TextBodyRegular.03"
android:textColor="@color/black"
app:layout_constraintBottom_toBottomOf="@id/nickname_et"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nickname_length의 color 변경이 필요해보입니다.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

닉네임 길이에따라 바뀌게 변경하겠습니다!

@bamin0422
Copy link
Collaborator

수정 확인 후, conflict resolved 되었을 때, approve 처리하겠습니다~🤗

@posite posite self-assigned this Oct 19, 2023
@posite posite requested a review from JJJoonngg October 19, 2023 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
로그인 + 가입 로그인 + 가입 화면 개발 라벨
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants