标签: android expandablelistview simplecursoradapter android-cursor
我ExpandableListView SimpleCursorTreeAdapter并使用ActionMode。 在回调方法onItemCheckedStateChanged [long id]中,对多行重复参数。当我呼叫setItemChecked()某行时,我的项目被激活了。 如何计算[long id]?它是基于[_id]中的cursor吗?
ExpandableListView
SimpleCursorTreeAdapter
ActionMode
onItemCheckedStateChanged [long id]
setItemChecked()
[long id]
[_id]
cursor
答案 0 :(得分:0)
long id独立于_id中的cursor .. long id只是ExpandableListView的行ID ..请参阅details here
long id
_id