I have single activity and 3 composable screens Login, Enter Pin, Home. Then from home, there are some other screens. When a user visits for the first time the flow is
Login page -> Enter Pin -> Home
saves the API key to the Datastore.
From next time , Enter Pin -> Home
What should be my nav graph? See details in the thread.
Rafiul Islam
08/25/2021, 2:41 PM
First I thought I would make the Home or Enter pin screen as my start destination. then I made the Login and Enter pin as a nested graph Authenticate and made it start destination then when navigating to home I used
But unfortunately, when I go to the home screen my back button doesn't work anymore. It doesn't exit my app. and my backqueue is like this
0 null
1 home