Fixed
Status Update
Comments
il...@google.com <il...@google.com>
il...@google.com <il...@google.com>
ap...@google.com <ap...@google.com> #2
Please include a sample project using Navigation 2.4.0-rc01 that reproduces your issue.
il...@google.com <il...@google.com> #3
Thank you but this version can still be reproduced,here is the project that can be reproduced:
- enable the setting of "don't keep activity" in developer options.
- start app, click "About" button.
- press HOME button.
- click app icon in launcher again.
Description
Currently, the `Navigation` class has 2 signatures for `createNavigateOnClickListener`:
`createNavigateOnClickListener(final int resId)`
`createNavigateOnClickListener(final int resId, finalBundle args)`
I propose a third overload:
`createNavigateOnClickListener(NavDirections)`
This overload could trampoline to the other two, as necessary, but it would allow for users to avoid having to manually extract the ActionID and Bundle from the NavDirections. It would be a nicety on top of an already nice library :)