Should be a good watch! <https://twitter.com/codew...
# compose-android
c
👀 3
❤️ 1
💯 2
🎉 5
s
It was a very good watch, I got quite a lot of my questions answered.
i
Glad you liked it 🙂
s
There was one little thing that I think went a bit over my head. Maybe rewatching it tomorrow will help me make sense of what was said, but until then might as well ask here. In the situation of logging in. There was the idea proposed to pop the entire backstack, and save the state as you're starting a login flow (like the suggestion is for when the bottom nav destinations change afaik). Then, after the login flow is finished, restoring the previously saved back stack and continuing from where you left off. Is the idea in this case, that for this situation, while the login screen is on the screen, the backstack would not include the start destination in it? So that pressing back would in fact take you out of the app, while showing the right predictive back gesture animation while doing so (since you'd be on the last entry in the backstack)? Would this be a valid situation where the start destination wouldn't in fact be on the backstack? Also, if I described this wrong please do let me know, I might be misremembering or I straight up misunderstood what you meant. It was quite a lot of info to process, so it's highly likely I got confused.
i
Yes, that's the gist of it
t
Where can I find the discussion on this idea of popping the backstack and saving/restoring the backstack? Is this in the twitch video, or discussed elsewhere? (Watching the video atm)
s
It’s something that’s done for bottom navigation already, so there’s one source that can be looked at here https://developer.android.com/jetpack/compose/navigation#bottom-nav And about the video, it’s somewhere in there where this is brought up. It’s on the 4th quarter of the video if I recall correctly, it was close to the end. The YouTube video will drop tomorrow, in like ~18 hours or smth like that.
i
The tracking bug for updated documentation on this case is https://issuetracker.google.com/273107243 if you want to get notified of when the docs are updated. It absolutely deserves more than the ~minute hand wavy explanation we offered in that video
s
Yes definitely! I am very eagerly looking forward to whatever docs come out of this. Thanks for bringing the attention to my report 🙇