Open
Description
It creates "ColorPickerDialog extends DialogFragment" , so when I use this:
val dialog: ColorPickerDialog = ColorPickerDialog.newBuilder().....create()
I can actually call now dialog.setColorPickerDialogListener
, which has the scope of the current class, and that's usually an Actvity/Fragment.
This can lead to memory leaks and reaching things that are destroyed.
Please offer an alternative which is a real Dialog, instead.
Metadata
Metadata
Assignees
Labels
No labels