Wednesday, January 9, 2013

Re: [android-developers] touch listener

On Wed, Jan 9, 2013 at 9:26 AM, bob <bob@coolfone.comze.com> wrote:
Can anyone tell me if the listener gets called on the UI thread or not?

Pretty much everything in Android works on the main UI thread, especially GUI-related functionality, unless otherwise specified.

You can also verify this for yourself by putting a breakpoint in the touch listener and seeing which thread is calling it in the Debug view in Eclipse.

-------------------------------------------------------------------------------------------------
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

No comments:

Post a Comment