File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Android and the fly likes Multiple AlertDialog dismiss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Multiple AlertDialog dismiss" Watch "Multiple AlertDialog dismiss" New topic

Multiple AlertDialog dismiss

Vishal Trivedi
Ranch Hand

Joined: Sep 05, 2011
Posts: 57

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

but have not been able to yield any result

second part

I agree. Here's the link:
subject: Multiple AlertDialog dismiss
It's not a secret anymore!