• Post Reply Bookmark Topic Watch Topic
  • New Topic

Multiple AlertDialog dismiss

 
Vishal Trivedi
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello

I have a requirement something like a

dialog 1:
if OK is clicked
then Dialog 2

dialog 2:
if Ok is clicked
then dialog 3
(I am using alertDialogBuilder for this)
The problem is I have implemented this but whenever my dialog 3 has completed its task dialog 1 is visible again.

I have tried using

DialogInteface. cancel/dismiss
alertDialog=alertDialogBuilder.create()
alertDialog.dismiss/cancel

but have not been able to yield any result




second part




 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!