ListViewDemo

Tag Archive

Show a context menu for long-clicks in an Android ListView

Coming from a Windows and .NET background, I had some trouble understanding how to interact with the ListView control and context menu creation in Android. Context menus are supposed to be shown on your mobile device when you touch/click the screen and hold on for a longer time. So here is how to determine which item is long-clicked and how to show a context menu for it. Read more...

2010-01-21
Twitter: @mikeplate