Top "Dialogfragment" questions

An Android Fragment that displays a dialog window, floating on top of its activity's window.

Detect back button but don't dismiss dialogfragment

I have a dialogfragment for a floating dialog which includes a special keyboard that pops up when a user presses …

android dialog dialogfragment
DialogFragment advantages over AlertDialog

When developing an Android app, I've read that it's recommended to use DialogFragment instead of using directly an AlertDialog to …

android android-alertdialog android-dialogfragment dialogfragment
BottomSheetDialogFragment - listen to dismissed by user event

How can I listen to a FINAL dismissal of a BottomSheetDialogFragment? I want to save user changes on the final …

android dialog android-dialogfragment dialogfragment bottom-sheet
Change DialogFragment enter/exit transition at just before dismissing

I have a DialogFragment and I set animation for enter/exit in the onActivityCreated method as below: @Override public void …

android android-animation buttonclick dialogfragment
DialogFragment with custom ListView

I'm trying to create a DialogFragment that shows a dialog with a custom ListView inside. public class MultiSelectDialogCustom extends DialogFragment { …

android android-listview dialogfragment
DialogFragment without FragmentActivity

Is it possible to use a DialogFragment when using an Activity instead of a FragmentActivity? The show() methods needs a …

android android-activity dialogfragment
What is lifecycle of DialogFragment

I could not find proper lifecycle of android.support.v4.app.DialogFragment by searching on Google. I need this for …

android android-dialogfragment dialogfragment appcompatdialogfragment
Android: disable DialogFragment OK/Cancel buttons

How can I disable OK/Cancel button of a DialogFragment when it is created using an AlertDialog ? I tried calling …

android button android-alertdialog dialogfragment
Dialog Fragment with wrap_content coming as a full screen. How to make it as a height of layout and not a full screen?

I have created a custom dialog fragment and its xml as follows: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout …

android android-fragments dialogfragment
How to safely dismiss DialogFragment in onstop()?

I need to dismiss DialogFragment in onStop() of an FragmentActivity if it is showing, this is what I did if(…

android android-dialogfragment dialogfragment