Monday, November 26, 2012

Re: [android-developers] how to close custom dialog class in android

On Mon, Nov 26, 2012 at 4:54 AM, Mr cool <ponnds11@gmail.com> wrote:
Here i can't use `finish()` method, I want to close the customized dialog box via the thread. Anyone has any idea about this?

First, you probably should not make the MyRunnable class public and static.
Second, your class extends Dialog, so see if there's a method in that class already defined that will dismiss it for you.

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate