f7c13ff5fb634c2001c92fa1642fa135ce02dfc2 |
|
01-Jun-2018 |
Ian Lake <ilake@google.com> |
Allow Fragment navigate() calls in Fragment lifecycle calls Previously, FragmentNavigator relied entirely on FragmentManager for the current state, necessitating the use of executePendingTransactions after each navigate() call. By switching FragmentNavigator to its own storage of the current state, it is possible to switch to traditional queued fragment transactions. Besides enabling the ability to call navigate() in lifecycle methods (which didn't work before because we were executing a pending transaction), this should also enable use of transitions. Test: ImmediateNavigationTest doesn't crash Test: Manual testing in the test-app BUG: 79632233 Change-Id: I7f823cb7e068e13845312065a0eafc938f099852
/frameworks/support/navigation/common/src/main/java/androidx/navigation/SimpleNavigatorProvider.java
|
6d535dd0f160473945d9446b41f53137d18cef7a |
|
19-Apr-2018 |
Sergey Vasilinets <sergeyv@google.com> |
Merge remote-tracking branch 'goog/flatfoot-navigation' into ub-androidx-1.0-alpha bug: 78286966 Change-Id: I782574e6061cb48c5a8b0b5085b97f15fb73e0e6
|
98971a7d72d56aeaf5d997ab251629e2550f350c |
|
18-Apr-2018 |
Sergey Vasilinets <sergeyv@google.com> |
Merge branch 'goog/pi-preview1-androidx-dev' into flatfoot-navigation Change-Id: I1e4cf5b4050d64fe2e3a856f71f75a8610ee9ab8
|
6acf1d8307805fb382e8cc4883ddae89f1c21eb0 |
|
16-Apr-2018 |
Ian Lake <ilake@google.com> |
Cache Navigator.Name annotation lookups As the Navigator.Name annotation cannot change at runtime, we can safely cache the values and only do the getAnnotation() call once per Navigator class. Test: SimpleNavigatorProviderTest still passes BUG: 78113681 Change-Id: I535188da4d28eee31105c1b6779c26c2f8dc62fe
/frameworks/support/navigation/common/src/main/java/androidx/navigation/SimpleNavigatorProvider.java
|
1503d52153986fdcfe7e744795010708b7410892 |
|
15-Feb-2018 |
Ian Lake <ilake@google.com> |
Move Navigation to androidx.navigation package Test: existing tests pass BUG: 73496185 Change-Id: I8b4f08b1aa5f9c5678816f47302463fb14e2c629
/frameworks/support/navigation/common/src/main/java/androidx/navigation/SimpleNavigatorProvider.java
|