-
Notifications
You must be signed in to change notification settings - Fork 8
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/USER] feat: 메인 화면을 프래그먼트, 바텀네비게이션 구현(#92) #104
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.
LGTM👍
@@ -21,4 +21,7 @@ | |||
<string name="ticket_entry_tv_before_entry">입장 전</string> | |||
<string name="ticket_entry_tv_after_entry">입장 완료</string> | |||
<string name="ticket_entry_tv_away">외출중</string> | |||
<string name="home_bottom_navigation_festival">축제 목록</string> |
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.
!-- Strings related to home -->
넣어주면 좋을 거 같아요!
} | ||
} | ||
|
||
private inline fun <reified T : Fragment> AppCompatActivity.changeFragment() { |
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.
확장함수가 아니여도 될거같아요!
@@ -37,7 +37,7 @@ class MainViewModel( | |||
|
|||
fun loadTicket() { | |||
viewModelScope.launch(exceptionHandler) { | |||
_ticket.postValue(ticketRepository.loadTicket(0L).toPresentation()) | |||
_ticket.postValue(ticketRepository.loadTicket(9L).toPresentation()) |
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.
예.
val binding = FragmentMyPageBinding.inflate(inflater) | ||
return binding.root |
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.
Fragment LifeCycle 과 ViewLifeCycle 이 달라서 binding 을 놓아주는 과정이 필요할 것 같아요!
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.
LGTM
📌 관련 이슈
✨ PR 세부 내용