Questions tagged [multiple-alert-dialogs]

7 questions
4
votes
3 answers

Flutter & AlertDialog : How do I align it to bottom? How I make 2 Alert Dialogs like this pictures?

Flutter & AlertDialog : How do I align it to bottom? How I make 2 Alert Dialogs like this pictures?Please have a lot at this picture. showDialog( context: context, builder:…
Punreach Rany
  • 2,560
  • 7
  • 23
  • 56
4
votes
2 answers

Android: AlertDialog closes only after second click on any button

I have an alert dialog with input field and two buttons (revert, save). When I click "back" button on my phone, I want another confirmation dialog to popup asking: "Are you sure you want to finish?". So it all looks like this: public void…
Sermilion
  • 1,920
  • 3
  • 35
  • 54
1
vote
3 answers

Flutter: Hide first alert dialog when other is shown

I want to hide the first alert dialog when I call showDialog() from it. After that when I close the second dialog I want the first dialog was visible again. How I can achieve this?
0
votes
1 answer

Exception: bad state: Future already completed

While checking version mismatch in init state of home page I'm getting above error, Here is my code: @override void initState() { getCategoriesName(); checkInternetConnection(); try { versionCheck(context); } catch (e) { …
0
votes
0 answers

Kotlin - Crash on Nested AlertDialog for loop

FYI I'm starting to learn Kotlin & have previous experience with Python and PyQT. Goal is to have a for loop iterate a certain amount of times based on user input. Each iteration of the for loop should bring up an alert dialog that saves the text…
0x029A
  • 7
  • 1
0
votes
3 answers

Showing multiple AlertDialog one after another

Suppose I have an ArrayList of 4 string values. I want to display 4 AlertDialogs with these 4 string values as message. So my doubt is, I want to display one AlertDialog only after one is dismissed. So these should be displayed back to back when ok…
Jas
  • 3,207
  • 2
  • 15
  • 45
-1
votes
2 answers

Build dialog one after one in a loop

I have this function where I need to return a list depending of what user pressed in Alert Dialog (cancel or save). But I have an issue, let's imagine we have a list with a size of 10. Then on the iteration of that list it will build 10 alert…
Barrufet
  • 495
  • 1
  • 11
  • 33