Fixed
Status Update
Comments
jg...@google.com <jg...@google.com>
jg...@google.com <jg...@google.com>
ap...@google.com <ap...@google.com> #2
This has been fixed internally by https://android-review.googlesource.com/864732 and developers can now use by navArgs() in both activities and Fragments to retrieve an instance of their generated Args class.
As a side effect of this change, the Args.fromBundle(Bundle) methods have been replaced with constructors that take a Bundle.
As a side effect of this change, the Args.fromBundle(Bundle) methods have been replaced with constructors that take a Bundle.
jg...@google.com <jg...@google.com> #3
This will be part of the Navigation 1.0.0-alpha10 release.
jg...@google.com <jg...@google.com> #4
FWIW, the second part of #2, where we switched to a constructor that takes a Bundle, has been reverted in https://android-review.googlesource.com/870691 and we'll continue to use an Args.fromBundle(Bundle) static method in Navigation 1.0.0-alpha10.
Description
Here is a minimal example with two fragments and the EditText on the second one: