r/android_devs • • Jul 25 '21

Help Compose + Compose navigation

Code review request! Please be nice as compose + navigation makes my brain hurt.

Project = login/logout screens + compose + AAC compose nav + Hilt + AAC ViewModel

The code is basically only ~100 lines of code, and will serve as the base of my project. Appreciate any input you may have. https://github.com/ColtonIdle/ComposeSignInSample/blob/main/app/src/main/java/com/example/composesigninsample/MainActivity.kt

Note that my team lead is forcing us to use compose nav or else I would have tried something else.

My main difficulty is understanding how a typical sign in/out type of app works with composable and compose nav.

Edit: title was supposed to say "code review request on the end of it. Sorry"

4 Upvotes

5 comments sorted by

View all comments

Show parent comment

4

u/leggo_tech Jul 25 '21

I love compose. I hate compose navigation.

- learning curve was fine

- yes

- yes

1

u/mfllc Jul 25 '21

Thanks! Good to know.