-
public class AlertDialogPrepromptForAndroidSettingsA singleton helper which will display the fallback-to-settings alert dialog.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceAlertDialogPrepromptForAndroidSettings.Callback
-
Field Summary
Fields Modifier and Type Field Description public final static AlertDialogPrepromptForAndroidSettingsINSTANCE
-
Method Summary
Modifier and Type Method Description final UnitdismissCurrentDialog()Dismiss the current dialog if it exists. final Unitshow(Activity activity, String titlePrefix, String previouslyDeniedPostfix, AlertDialogPrepromptForAndroidSettings.Callback callback)final Unitshow(Activity activity, String titlePrefix, String previouslyDeniedPostfix, AlertDialogPrepromptForAndroidSettings.Callback callback, Function0<Unit> dismissCallback)-
-
Method Detail
-
dismissCurrentDialog
final Unit dismissCurrentDialog()
Dismiss the current dialog if it exists. This should be called when the Activity is destroyed to prevent WindowLeaked errors.
-
show
final Unit show(Activity activity, String titlePrefix, String previouslyDeniedPostfix, AlertDialogPrepromptForAndroidSettings.Callback callback)
-
-
-
-