Fixed
Status Update
Comments
il...@google.com <il...@google.com>
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-master-dev
commit bf2f403c147fad4352112c26321e95e2ac44cb9a
Author: Ian Lake <ilake@google.com>
Date: Wed Nov 28 16:11:09 2018
Support non-string arguments in dataPattern
ActivityNavigator.Destination's dataPattern
should support any type of argument, not
just string values.
Test: new ActivityNavigatorTest
BUG: 120161365
Change-Id: Id6c7acc993c8e796e66aef19d7c1e62d4ca73978
M navigation/runtime/src/androidTest/java/androidx/navigation/ActivityNavigatorTest.kt
M navigation/runtime/src/main/java/androidx/navigation/ActivityNavigator.java
https://android-review.googlesource.com/837144
https://goto.google.com/android-sha1/bf2f403c147fad4352112c26321e95e2ac44cb9a
Branch: androidx-master-dev
commit bf2f403c147fad4352112c26321e95e2ac44cb9a
Author: Ian Lake <ilake@google.com>
Date: Wed Nov 28 16:11:09 2018
Support non-string arguments in dataPattern
ActivityNavigator.Destination's dataPattern
should support any type of argument, not
just string values.
Test: new ActivityNavigatorTest
BUG: 120161365
Change-Id: Id6c7acc993c8e796e66aef19d7c1e62d4ca73978
M navigation/runtime/src/androidTest/java/androidx/navigation/ActivityNavigatorTest.kt
M navigation/runtime/src/main/java/androidx/navigation/ActivityNavigator.java
il...@google.com <il...@google.com>
il...@google.com <il...@google.com> #3
This is fixed internally and will be available in 1.0.0-alpha08
Description
Version used: 1.0.0-alpha07
Devices/Android versions reproduced on:
ActivityNavigator only supports string arguments for filling in the data pattern. It should at least use toString() on any type of argument.