AlertDialog and using dialog.cancel()

Common bugs/problems with the Android SDK the Emulator and the ADT-Plugin.

AlertDialog and using dialog.cancel()

Postby nicky » Thu Jun 14, 2012 11:46 am

Hello,

I just joined this forum to talk about android development since I have recently started to develop apps for android. :D I'm familar with C# and I have done several Java projects using eclipse as well.

However, there's something I'm wondering about: When using the AlertDialog, for example with the options "yes" and "no", does it make sense to call dialog.cancel() inside the "no" option if you don't want use the fired onDialogCancelled event?

I'm just curious about it. Since I don't want to do anything when the user hits the "no" option I don't need dialog.cancel(), do I?

nicky
nicky
Freshman
Freshman
 
Posts: 3
Joined: Thu Jun 14, 2012 11:36 am

Top

Re: AlertDialog and using dialog.cancel()

Postby nicky » Thu Jun 21, 2012 1:13 am

push();
nicky
Freshman
Freshman
 
Posts: 3
Joined: Thu Jun 14, 2012 11:36 am

Re: AlertDialog and using dialog.cancel()

Postby nicky » Wed Aug 22, 2012 11:52 am

repush();
nicky
Freshman
Freshman
 
Posts: 3
Joined: Thu Jun 14, 2012 11:36 am

Re: AlertDialog and using dialog.cancel()

Postby arleneangle » Thu Aug 23, 2012 8:01 am

It is so interesting what you said.
Every journey begins with the first step
Image
arleneangle
Developer
Developer
 
Posts: 36
Joined: Thu Aug 16, 2012 8:33 am

Top

Return to SDK/ADT/Emulator Problems

Who is online

Users browsing this forum: No registered users and 5 guests