开发者

display item of listview

I have a list view having several items and it is mult开发者_Python百科ichoice list. I want to display the checked item of list view. how i can do this.can anyone help me???


Try this

m_cObjList.setOnItemClickListener( new AdapterView.OnItemClickListener() {

    public void onItemClick(AdapterView<?> arg0, View arg1, int arg2, long arg3) {
    // This will highlight the select view
    m_cObjAdapter.setSelected(arg2);                

  }
});
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜