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);

你可能感兴趣的:(listener)