开发者

Android: ListView

Need some help ! I have a ListActivity...on itch row i have 4 textVIew...

@Override
public void onListItemClick(ListView parent, View v, int position, long id) {
    Intent intent = new Intent(this, Some.class);
    intent.putExtra(KEY, (int) id);
    startActivityForResult(intent, 0);
}

On list item click i can send ID easy. But also i have on click method on every tex开发者_运维百科tView... How can i get row id when i clik on TextView of this row ?


see this thread

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜