Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 2 months ago. Improve this question How to set alert dialog box in android java? How to set alert dialog box in android java? Answer A
Tag: android-alertdialog
AlertDialog In MVVM
I am building an app in MVVM pattern and I am using 3 different styles of dialogs(some of them have 2 buttons,some of them 3). Since the AlertDialog refers to the view, I wrote the code in the fragment. I have 3 dialogs in the same fragment and its look kind of messy. My questions: Is this a good practice
Alertdialog running ongoing dosen’t dismiss or cancel
According this answer , I wanna to show dilaog until the next 10 posts is loaded so I created the static alertDialog method to use it in different places in my app, but the problem is the dialog doesn’t cancel or dismiss setProgressDialog in Utils class then I used it in HomeFragment on click load more button PS: I tried
How to set ImageView in the AlterDialog Box
I am fetching the text and imageUrl from Firebase Realtime Database. I want to show the image and then display the text in the AlertDialogBox. I am able to fetch the text and imageUrl. Able to set the text using setTitle() but when trying to display the image, not able to implement so. Referred this but there in they are
The AlertDialog dosen’t show when activity start
This is my first time asking for help here. Basically the problem is that I want to show an AlertDialog and then start an activity with an intent. The problem is that the intent starts without showing the AlertDialog and I don’t get why. But if I delete the intent code the alert shows up. Please anyone help me. Thanks.
How can I change the text color and the tint color of radiobuttons in a Alert?
Right now I have a button and when clicked it pops up with an AlertDialog with 3 radiobuttons. I want to change the text color and the tint color to match what I have on the rest of the app. Besides the call to the method this is all the code I have for the Alert: I have tried to
Communication Between DialogFragment and Fragment
I am trying to pass information from my alert dialog to my second fragment (I am using tabbed activity layout). I want to pass information from alert dialog to fragment when I click on my ImageView, but my app keep crashing until I implement my interface inside MainActivity.java. My main mission here is to open alert dialog which contains several