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

Navigation 리팩토링 #230

Open
HamBP opened this issue Apr 15, 2024 · 0 comments
Open

Navigation 리팩토링 #230

HamBP opened this issue Apr 15, 2024 · 0 comments

Comments

@HamBP
Copy link
Member

HamBP commented Apr 15, 2024

작업할 내용

  • navController를 넘겨서 코드를 간결하게 바꿔도 될 듯하다.
  • route는 여전히 하드코딩이 결합된 형태인데, createRoute함수를 정의하여 사용하는 게 best practice로 보인다.

참고

image
출처 : https://github.com/skydoves/pokedex-compose

image
출처 : https://medium.com/google-developer-experts/navigating-in-jetpack-compose-78c78d365c6a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant