Top "Dialogfragment" questions

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

Android 6.0 DatePickerDialog Theme

Seems like anyone using Marshmallow (Android 6.0) is not able to use the DatePicketDialog within my app. There appears to be …

android themes dialogfragment datepickerdialog
Pass data fragment to fragment in the same activity

I have some problem want to ask about passing data from fragment to fragment in an activity. I have no …

android fragment dialogfragment
Up ActionBar action on DialogFragment

I have a DialogFragment that is styled to full screen using setStyle(STYLE_NORMAL, R.style.Theme_App). The DialogFragment …

android android-dialogfragment android-actionbar-compat dialogfragment
Get value from Bottom Sheet Dialog Fragment

I'm starting bottomSheetDialogFragment from a fragment A. I want to select the date from that bottomSheetDialogFragment then set it in …

android fragment bottom-sheet dialogfragment
commitAllowingStateLoss on DialogFragment

I have an IllegalStateException on showing a DialogFragment : java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState i know …

android android-fragments android-dialogfragment dialogfragment
Hide to show and hide keyboard in DialogFragment

In my dialog fragment, I am able to show the keyboard using getDialog().getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT STATE_…

android android-softkeyboard android-dialogfragment dialogfragment
How to take text input with DialogFragment in Android?

I am trying to get a value that user enters into a Dialog, using the recommended DialogFragment class for it, …

java android input dialogfragment
Fullscreen DialogFragment overlaps with StatusBar

I created a full screen dialog with the official Guide The problem is, that my Toolbar overlaps with the status …

java android android-fragments dialog dialogfragment
How to remove an item from recyclerView after removing it from database

I am using a recyclerView to display a list of items that can be deleted when user clicks on delete …

android android-recyclerview dialogfragment
getViewLifecycleOwner() in DialogFragment leads to crash

I use DialogFragment (onCreateDialog) and ViewModel for it. But, when I try to pass getViewLifecycleOwner() to the LiveData::observe method …

android viewmodel dialogfragment android-livedata