51c1fe23339181415ed6837f64218b29f677cd59 |
|
06-Jun-2018 |
Ian Lake <ilake@google.com> |
Fix Lint and Nullability checks throughout Navigation Test: all tests pass Change-Id: Ia442b49c2335af5a1ff01e64a5cfa3f25cedfb5d
/frameworks/support/navigation/runtime/src/main/java/androidx/navigation/ActivityNavigator.java
|
f0e6c50d8f3d0eb6df41d48e012113d0b4e65072 |
|
30-May-2018 |
Ian Lake <ilake@google.com> |
Deprecate NavOptions' clear task As popUpTo the root of your graph with inclusive = true is equivalent to clear task, there's no need for a separate flag. This reduces confusion where developers could set clear task to be true and a popUpTo destination and be ensure which would take precedence. It also fixes issues with Activity destinations that would not interact well with clear task. Test: tests still pass BUG: 80338878 Change-Id: I98192d1b41cfa8e44018123957eea842f00fc6f7
/frameworks/support/navigation/runtime/src/main/java/androidx/navigation/ActivityNavigator.java
|
7e2dc4f678a8b0d8a74bb6d8716258aa373e40fd |
|
12-Apr-2018 |
Ian Lake <ilake@google.com> |
Add ActivityNavigator to NavGraph DSL Adds the ability to create activity destinations in the NavGraph Kotlin DSL: navController.createGraph(startDestination = DEST_ID) { activity(DEST_ID) { activityClass = DetailActivity::class action = Intent.ACTION_VIEW data = "http://www.example.com".toUri() // Or dataPattern = "http://www.example.com/{id}" } } Test: new ktx tests BUG: 77536435 Change-Id: I74d128324c6a225ea58a2b802d1c9503ed09919b
/frameworks/support/navigation/runtime/src/main/java/androidx/navigation/ActivityNavigator.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/runtime/src/main/java/androidx/navigation/ActivityNavigator.java
|