0
我有responceid(字符串responceid = Activity2.getData())每行...我想当我点击任何位置的列表项目它显示其相应的responceid ...所以如何绑定responseid的每一行.... responceid从数据库onListItemClick()显示不同的2活动
@Override
protected void onListItemClick(ListView l, View v, int position, long id)
{
super.onListItemClick(l, v, position, id);
String responceid = Activity2.getData();
Object o = (String) (Notepadv3.this).getListAdapter().getItem(position);
Toast.makeText(this, "this row responce id is= " + " " + , Toast.LENGTH_LONG).show();
}
_responceid_或_responseid_? – 2018-02-03 15:34:38