-
Notifications
You must be signed in to change notification settings - Fork 77
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
Up navigation examples are hard to find #283
Comments
Heyo, it's primarily because the icon being "back" is typically encoded in either the screen itself, or can be evaluated with But I haven't worked on app with a design that actually shares the toolbar across the entire app in a very long time, which is why you only saw that in the legacy example. The title scared me for half a sec because |
Ahh, I see. I'm so used to Jetpack Navigation where up arrow seems to be handled via magic (once you call something like setupActionBarWithNavController) I did not realize I should simply put a toolbar in my fragments or main activity and define the navigation behavior myself, wew
It would be nice however to have something like a TLDR or recipes page for things like this. |
Technically it does exist in this sample: Line 52 in 528fb85
|
It seems that all examples for "up" back arrow navigation are in the "legacy-architecture-samples". A bit hard to find especially as they are "legacy" and written in java.
By up navigation I mean this:
simple-stack/samples/legacy-architecture-samples/simple-stack-example-mvvm-fragments/src/main/java/com/zhuinden/simplestackexamplemvvm/application/BaseKey.java
Line 65 in 842bfc7
The text was updated successfully, but these errors were encountered: