1

Android listview displays context menu while scrolling

view story
linux-howto

http://stackoverflow.com – I have a custom listview implementation in which i have overridden the onScroll and onLongPress. Both the methods return true indicating that the event was handled so that no other event gets fired. While using this listview in my activity i register the listview for ContextMenu using registerForContextMenu. I also implement the OnItemLongClickListener in the activity for the listview in order to get details about the long pressed item to display the context menu. The menu appears fine on the long press of the items and gets the item values properly as well but my problem is that if i scroll (HowTos)