Fixed
Status Update
Comments
il...@google.com <il...@google.com> #2
On certain devices, apps are force stopped when the app is cleared from task manager, so that part is expected. I do see a NullPointerException in your stacktrace, so we'll investigate that.
jb...@google.com <jb...@google.com> #4
This has been fixed by the PR above, and will be available in Fragment 1.4.0-alpha01
.
jb...@google.com <jb...@google.com> #5
Thank You for the PR!
Description
Component used: Fragment
Version used:
Devices/Android versions reproduced on: any
When using a `DialogFragment`, the `setOnCancelListener` and `setOnDismissListener` callback functions within the `onCreateDialog` function should not be used as the `DialogFragment` owns these callbacks. Instead the respective `onCancel` and `onDismiss` functions on `DialogFragment` can be overriden to achieve the desired effect.
While this is currently called out via a comment on the `onCreateDialog` function, a lint warning might better inform developers of this potential gotcha.