private class QuickWayListener implements OnItemLongClickListener{ @Override public boolean onItemLongClick(AdapterView<?> arg0, View view, int pos, long id) { //pos不可用說明見下文 return false; } } 如果這個(gè)方法是用在ListView長按事件中剛剛好,但在ExpandableListView中,第三個(gè)參數(shù)pos不能區(qū)分開...
www.dbjr.com.cn/article/385...htm 2025-6-7