Top "Android-dialogfragment" questions

DialogFragment is a fragment that displays a dialog window, floating on top of its activity's window.

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
How to show DialogFragment from Fragment in actionBar android

I use Tabs ActionBar with Fragments. Inside one fragment I have button. I want to show a DialogFragment (inside my …

android android-fragments android-dialogfragment android-nested-fragment
Why use newInstance for DialogFragment instead of the constructor?

Looking at the documentation of DialogFragment, one sees the static newInstance method to initialize a new alert dialog fragment. My …

android constructor android-dialogfragment
Why is Android O failing with "does not belong to this FragmentManager!"

I have migrated my application to Android O in Android Studio 3 Running on an Android O emulator all my dialogFragments …

android android-dialogfragment android-8.0-oreo
DialogFragment - Can not perform this action after onSaveInstanceState

I'm developing a launcher application that shows a dialogfragment when the user authenticates itself. Most of the times this is …

android android-dialogfragment illegalstateexception
Toolbar in DialogFragment

In our app, we have a few fragments that can be shown either as fullscreen fragments or as dialog fragments. …

android android-fragments android-dialogfragment android-toolbar
Passing an Object to Fragment or DialogFragment upon Instantiation

I'm trying to work out the correct way to pass in an Object to a Fragment or DialogFragment without breaking …

android android-fragments fragment android-dialogfragment
Launch a Dialog Fragment on button click from a custom base adapter>getView [IMG INCLUDED]

Alright so i have a list(which is also a fragment dialog) that displays a users friends and each item …

android listview button baseadapter android-dialogfragment
How to create an Android Tabbed Dialog containing fragments?

Can anyone point me to an example or show me how to create a simple Tabbed Dialog in Android where …

android android-fragments android-dialogfragment fragment-tab-host android-nested-fragment
Should I use a PopupWindow or DialogFragment for accepting input?

I am doing a Popup with 3 Spinners and an EditText. After reading many blogs and articles I can't decide which …

android android-dialogfragment android-popupwindow