b0cd4b0bbd6ec1aa3958afc7f3be74d949ff3a1e |
|
04-Jun-2018 |
Ian Lake <ilake@google.com> |
Fix NavigationUI when using nested start destinations Updates NavigationUI to handle cases where the start destination of the NavController's graph is a nested graph. This ensures that the correct element is selected in a NavigationView or BottomNavigationView as well as ensures that the up button only appears as an arrow when there's actually a destination on the back stack. Test: Ran the updated integration test app BUG: 109675998 Change-Id: Iece8d71c177915baba058765ca04a909fd0b019a
/frameworks/support/navigation/ui/src/main/java/androidx/navigation/ui/NavigationUI.java
|
d41882c3778da44c4176cdf4bf8edfef1056773c |
|
24-Apr-2018 |
Sergey Vasilinets <sergeyv@google.com> |
Attempt #2 to fix options pop up behavior Test: manual Change-Id: I72000c24a783d4674408f5eccb4e8ec8ed4e20f2
/frameworks/support/navigation/ui/src/main/java/androidx/navigation/ui/NavigationUI.java
|
3b2023c498cd9dfe14244bc1b7f0ac673d039f4b |
|
06-Apr-2018 |
Sergey Vasilinets <sergeyv@google.com> |
Don't popup for option menus. BottomNav, SideNav should popup to startDestination, but option menu items should preserve backstack. Test: missing Change-Id: I519b97d0d56981f318cda9363cc30b5ae1bdd41e
/frameworks/support/navigation/ui/src/main/java/androidx/navigation/ui/NavigationUI.java
|
55565dc7a0172c95ab6a0d9ceaec0752ef54b940 |
|
03-Apr-2018 |
Ian Lake <ilake@google.com> |
Make NavHelper more approachable from Kotlin Renames NavHelper to NavigationUI and changes method signatures to operate more like Kotlin extension methods where the object they operate on is the first parameter. Test: integration-tests app compiles BUG: 70930736 Change-Id: I76faafc252b34b7c1220679fbf09a5ba1441227a
/frameworks/support/navigation/ui/src/main/java/androidx/navigation/ui/NavigationUI.java
|