-
Notifications
You must be signed in to change notification settings - Fork 1
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/#109] 엔딩페이지 구현 & 답변화면 UT 반영 #112
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수고하셨습니다!!
릴리즈 잘 끝내봅시다 👊🔥
if (it.index == 8 && viewModel.isShowedEndingPage()) { | ||
viewModel.setStateObserveIndex() | ||
startForResult.launch(Intent(requireActivity(), EndingActivity::class.java)) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
저는 인덱스 값만 검사하면 되는줄 알았는데 인덱스만으로는 체크가 안되는군요!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
인덱스로만 검사하면 엑스를 누르고 홈으로 돌아오면 여전히 idx=8이라서 엔딩페이지가 또 뜨는 문제로 조건을 하나 더 따져야했습니다 haha
private fun setClickBtnSave() { | ||
with(binding) { | ||
viewModel.answer.observe(this@AnswerActivity) { | ||
btnSave.isEnabled = !it.isNullOrBlank() | ||
} | ||
btnSave.setOnClickListener { | ||
showConfirmDialog() | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
깔꼼 리팩토링 👍
🎀 Related Issues
close #109
🤔 What Did You Do
📸 Screenshot
_2023_08_28_20_02_14_505.mp4