Sunday, April 10, 2011

[android-developers] GridView - onselect or onclick ??

In "The Busy Coder's Guide to Android Development", the GridView has
been implemented using onSelect listener. But when i run the
application on the emulator, nothing seems to happen when i click on a
grid item. Alternatively when i implemented onClick listener and
callback, I was able to capture the onclick event.
Can anybody please explain what the difference between the two events
are? thanks!

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