I am new in Android developing, and my question is about what is the best way to provide options for listview items? On the Bada OS, you can slide any listview item horizontally away, and access the options for that item. http://horrorcoding.altervista.org/developing-on-bada-2-0-%E2%80%93-how-to-use-listcontextitems-in-a-listviewgroupedlistview/
But this does not exist on Android. So how to do it? My main activity has a listview, if you click on an item, it opens a new activity with the details of the clicked item.
But on the main activity, you should be able to delete or edit any item. So my ideas:
idea1: I put a small edit icon on the top-right corner of the item, and when user click on this, I display QuickAction with Edit/Delete options. http://www.londatiga.net/it/how-to-create-quickaction-dialog-in-android/ If user clicks on other part of the item, just open the details activity.
idea2: I use contextmenu for long-press on the item. But this option is "invisible" for the users, so how can they know that they can do a long-press on the items?
What do you think?