AdapterView.OnItemClickListener怎样获取点击那一项的内容

http://bbs.csdn.net/topics/390308965?page=1#post-393146240

ListView.setAdapter(SimpleAdapter);


public void onItemClick(AdapterView<?> arg0, View arg1, int arg2,
                    long arg3) {
                Adapter adapter=arg0.getAdapter();
                Map<String,String> map=(Map<String, String>) adapter.getItem(arg2);

猜你喜欢

转载自panyongzheng.iteye.com/blog/1894670