-
Notifications
You must be signed in to change notification settings - Fork 3
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
[AN] fix: 각종 에러 처리 + 리팩터링 #359
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.
고생하셨습니다 !!
@@ -41,7 +41,7 @@ class MainActivity : | |||
} | |||
|
|||
private fun initNavController() { | |||
switchFragment(ClubListFragment::class.java) | |||
supportFragmentManager.findFragmentById(R.id.nav_host_fragment_container) ?: switchFragment(ClubListFragment::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.
[mainActivity: nav 선택 위치와 띄워진 fragment가 동일하도록 구현]에 대한 fix인가요?
이유가 무엇이었을까요
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.
현재 container에 fragment가 있는지 없는지 확인하는 코드입니다! 해당 코드로 configuration change때 무분별하게 fragment가 switch되는 것을 막을 수 있습니다
@@ -12,7 +12,7 @@ fun ChatRoom.toUiModel(): ChatListUiModel = | |||
"", | |||
memberCount, | |||
0, | |||
LocalDateTime.now().classifyChatDateTime(), | |||
LocalDateTime.of(2024, 6, 7, 13, 6).classifyChatDateTime(), |
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.
아 일부러 더미데이터로 넣었습니다!! listAdapter 데이터 갱신 기준 확인할려구요
이슈
개발 사항
전달 사항 (없으면 삭제해 주세요)