How do I get the text set on a ListView item
问题 What I want to do I have several items in a ListView. When I longpress an item I have a contextmenu which pops up with several options. On of these options is "Share task". When the user selects "Share task" I want to have the Title/Text of the item they long-pressed to be retrieved and passed to a method. What's I've managed to do so far I have managed to get the id and position of the item in the listView which the contextmenu was called up using the method show below. @Override public