I want to show an alert box after a confirm box. For example, prompt the user for confirmation before deleting, and then show the result of the call to the web service.
In the example below, the first Alert.create is presented for the confirmation. If the user clicks Yes, then the web service call is made and then I show another Alert.create.
The problem is that the second alert cannot be dismissed.
I know I should wait for the first confirm to completely go away before showing the alert results, but Iām not sure how to do that correctly. Thoughts?