检测在ListView中选择的项目生成了上下文菜单(Android)
原文:Detecting which selected item (in a ListView) spawned the ContextMenu (Android)
原文:Detecting which selected item (in a ListView) spawned the ContextMenu (Android)
我有一个 ListView,允许用户长按一个项目来获得上下文菜单。我的问题是确定他们长按了哪个列表项。我尝试过这样做: myListView...