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