Fixed
Status Update
Comments
il...@google.com <il...@google.com>
yb...@google.com <yb...@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.
ap...@google.com <ap...@google.com> #3
This will be part of the Navigation 1.0.0-alpha10 release.
il...@google.com <il...@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
Version used: 1.0.0-alpha06
Devices/Android versions reproduced on: -
As the title says the generated *Directions classes are missing the @Generated() annotation and both the getArguments() and getActionId() implementations are missing the @Override annotation.