-
Notifications
You must be signed in to change notification settings - Fork 0
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
[mod] 상세 피드 댓글 / 1차 릴리즈 QA 피드백 반영 #158
Conversation
- 화면에 터치 이벤트가 발생하면 에디트텍스트 포커스 해제 - 에디트텍스트 포커스가 활성화 되면 리스트의 가장 마지막 아이템으로 스크롤 위치 변경 - 에디트 텍스트 배경 수정
…o feature/mod-detail-comment
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.
마지막까지화이팅 👍 고생했당
private fun initEditTextFocusChangeListener() { | ||
binding.etComment.setOnFocusChangeListener { view, hasFocus -> | ||
if (hasFocus) { | ||
val commentListSize = commentAdapter.currentList.size | ||
binding.rvDetail.smoothScrollToPosition(commentListSize + 1) | ||
} | ||
} | ||
} |
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.
이 부분 어떻게 할지 궁금했었는데 setOnFocusChangeListener 방법 너무 좋네요
@@ -70,6 +70,7 @@ class DetailActivity : BindingActivity<ActivityDetailBinding>(R.layout.activity_ | |||
|
|||
initEditTextFocusChangeListener() | |||
updateStatusBarColor() | |||
binding.tvCommentCreate.bringToFront() |
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.
이 속성도 배우고갑니다 ❤️
📝 Work Description
📣 To Reviewers