Fixed
Status Update
Comments
il...@google.com <il...@google.com> #2
What about Enums? Enum is a type-safe way to pass navigation arguments.
Will Enums be covered in this issue as part of Serializable or will have own handled separately?
Because for enum you can provide a reasonable default value but for Parcelable or Serializable only @null
Will Enums be covered in this issue as part of Serializable or will have own handled separately?
Because for enum you can provide a reasonable default value but for Parcelable or Serializable only @null
Description
Version used: 1.0.0-alpha09
Devices/Android versions reproduced on:
All of the generated NavDirections classes return a NonNull Bundle from getArguments() so the method should be marked as @NonNull rather than its current @Nullable. I don't think we want to be distinguishing between an empty Bundle and a null Bundle.