Jorge D Ortiz wrote: > Very interesting. Thank you. > > How do you deal with long clicks? I do not find any function in the > ListActivity that takes care of them. Is there any examples in the > ApiDemos?
For cases like yours, they're called context menus. Call registerForContextMenu() for any widgets for which you want a context menu. Implement onCreateContextMenu() to populate those menus on demand. Implement onContextItemSelected() to handle the menu choice when made. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 1.1 Published! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

