Android-dialogfragment Questions
Ad
Getting date from dialog fragment to fragment
There seem to be many question related to this topic. when i read most of them i had one problem. usually people try to make a fragment and then
How to retain selection in multi choice dialog in Android on rotation?
I have a dialog to select more than one days of a week as follows: class dialogsettingsenableddays : dialogfragment() {
DialogFragment too wide and can't center it
I've tried to google for quite some time and none of the answers seem to work for me. i have alertdialog in new fragment and no matter what i do
Start BottomSheetFragment for result
I want to get results from bottomsheetfragment. i tried to do it through getactivity().setresult(activity.result_ok, null); inside
Trouble showing datepicker dialog fragment using Navigation component
I am trying to use the navigation component to show a date picker dialog fragment. i am getting the following error:
Can you make an alert dialog take 100% of the width on screen?
I am trying to make my alert dialog (not custom dialog), take up 100% of the width on screen from end to end ,but even if i set it to match parent
Android java.lang.IllegalStateException: Fragment already added
I'm getting a loading object waiting for a request from the webservice. but sometimes this object causes my application to end. i couldn't detect
Android runtime permission call same Fragment after accept or denied permission
Helo guys, i have activity with component "bottomnavigationview" and in this component i have four fragments. when i click for example on
Problem With Dropping an image from dialog to activity
I keep getting the nullpointerexception.i cannot get the image from my dialogfragment to my main activity. the item from the dialog
Custom DialogFragment with AlertDialog returns EditText as ""
I have a custom dialogfragment that i'm using to capture user input that i will create a database entry with. i'm using
Ad
Retain media fragment music playing
I have a bottomsheetdialogfragment i use to play recordings. but the fragment is being recreated from scratch and destroying on
onKeyDown() event not triggered when in DialogFragment
I capture key events (from an external keyboard) within my app. i use onkeydown() method from activity. in my app i
Modify an exist DialogFragment
I would like to know if there is any way to get a dialogfragment just like getfragmentbytag? i'll explain. i am using a
Fragments and DialogFragments deprecated, what will replace them?
We can read in official android doc android.app.fragment this class was deprecated in api level 28. use the
How to access EditText data in DialogFragment
My question is how to get data that users input into my edittext then show the data by using toast.maketest method.
Can't invoke MainActivity.super.onBackPressed() using DialogFragment
I have a generic dialogfragment which i use in my mainactivity for several different usages. one of them is to show a confirmation dialog for
DialogFragment show steps with different "fragments"
I want to show an alertdialog that will have 3 or more "steps" with different logic and layout. for example, the first
Progress Dialog setContentView not working in onCreateDialog DialogFragment
I am using this code for showing progressbar according to my need : public class delayedprogressdialog extends
Android: Apply ActionMode to a DialogFragment
I'm having some trouble using actionmode with a dialogfragment and hope someone can point me to a solution. when i start actionmode in my
How to listen for FragmentDialog clicks in the MainActivity if it cannot extend from FragmentActivity?
I am trying to show an initial dialog in my application so that the user accepts the terms and conditions and the privacy policy, setting from
Ad
Blog Categories
Ad