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

Main 화면 네비게이션 구조 feature 모듈을 의존하는 형태로 개선 #56

Merged
merged 4 commits into from
Jul 19, 2023
Merged

Conversation

laco-dev
Copy link
Contributor

Issue

Overview (Required)

  • 지난 작업에서 메인 화면이 각 피쳐를 이동하는 방법에 대해 컴포저블을 주입받는 방식으로 구현하였습니다.
  • 다만 이러한 레퍼런스를 찾아볼 수 없고 app 모듈이 다른 피쳐를 실행하는 개념을 그대로 사용하기 위해 main 모듈이 다른 모듈을 의존하는 형태로 구조를 리팩토링 하였습니다.
  • 나우인 안드로이드, 드로이드 카이기를 참고해서 구현하였습니다.

기타 작업사항

@laco-dev laco-dev requested a review from wisemuji July 19, 2023 13:21
Copy link
Member

@wisemuji wisemuji left a comment

Choose a reason for hiding this comment

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

질문이 있지만 어프룹입니다 💯

Comment on lines +18 to +20
object HomeRoute {
const val route = "home"
}
Copy link
Member

Choose a reason for hiding this comment

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

단순 상수값으로도 충분하다고 생각했는데 HomeRoute가 object여야할 이유가 있을까요?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@wisemuji
Route를 만들어주는 역할을 하는 목적으로 보면 object로 관리하는 이점이 있습니다.
ref : https://github.com/DroidKaigi/conference-app-2022/blob/main/feature/sessions/src/main/java/io/github/droidkaigi/confsched2022/feature/sessions/SessionsNavGraph.kt

@laco-dev laco-dev merged commit adcad06 into droidknights:main Jul 19, 2023
@laco-dev laco-dev deleted the feature/#55 branch July 19, 2023 14:57
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.

Main 화면 네비게이션 구조 feature 모듈을 의존하는 형태로 개선
3 participants