rashmi
rashmi

Reputation: 167

display item of listview

I have a list view having several items and it is multichoice list. I want to display the checked item of list view. how i can do this.can anyone help me???

Upvotes: 0

Views: 415

Answers (1)

Vinayak Bevinakatti
Vinayak Bevinakatti

Reputation: 40503

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

  }
});

Upvotes: 1

Related Questions