[android-developers] Re: Avoid Multiple click on button..
disable the button on click. enable it on close event of the dialog or on some other appropriate event But, if you are tapping with finger, how can you press more than once unwillingly? Regards Sarwar Erfan On Tuesday, January 4, 2011 9:37:53 PM UTC+6, ikalbeniz wrote: Hi, I have a button that opens a dialog box.. sometimes when i push the button i press it more than once and opens more than one dialog box.. is there any way to avoid this easily? Regards. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Avoid Multiple click on button..
the problem is that sometimes it takes a lot of time to open the dialog.. so i press more than one times because i think that i have note pressed correctly... On Jan 4, 4:42 pm, Sarwar Erfan erfanonl...@gmail.com wrote: disable the button on click. enable it on close event of the dialog or on some other appropriate event But, if you are tapping with finger, how can you press more than once unwillingly? Regards Sarwar Erfan On Tuesday, January 4, 2011 9:37:53 PM UTC+6, ikalbeniz wrote: Hi, I have a button that opens a dialog box.. sometimes when i push the button i press it more than once and opens more than one dialog box.. is there any way to avoid this easily? Regards. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Avoid Multiple click on button..
Are you sure that you are just opening a dialog? If you are doing some other computations and stuff before actually opening it you might have the UI locked.. On Tue, Jan 4, 2011 at 4:52 PM, ikalbeniz txup...@gmail.com wrote: the problem is that sometimes it takes a lot of time to open the dialog.. so i press more than one times because i think that i have note pressed correctly... On Jan 4, 4:42 pm, Sarwar Erfan erfanonl...@gmail.com wrote: disable the button on click. enable it on close event of the dialog or on some other appropriate event But, if you are tapping with finger, how can you press more than once unwillingly? Regards Sarwar Erfan On Tuesday, January 4, 2011 9:37:53 PM UTC+6, ikalbeniz wrote: Hi, I have a button that opens a dialog box.. sometimes when i push the button i press it more than once and opens more than one dialog box.. is there any way to avoid this easily? Regards. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- YuviDroid Check out Launch-X http://android.yuvalsharon.net/launchx.php (a widget to quickly access your favorite apps and contacts!) http://android.yuvalsharon.net -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en