DialogFragment - Where to use OnDismissListener and OnCancelListener

If you want to use OnCancelListener or OnDismissListener on dialog fragment, use it in onStart() rather than on onCreateDialog(); 


Popular posts from this blog

Open Gallery and get the selected image in appplication

AlarmManager and Notification in Android

Dismiss or Cancel dialog by swipe gesture