Selected Item issue while scrolling listview

后端 未结 2 1763
我在风中等你
我在风中等你 2020-12-21 13:10

i am using following code to display list of tags now when i select any item a tick mark is displayed before that selected item.

and i move to next activity. now pro

2条回答
  •  一生所求
    2020-12-21 14:01

    Even I had a similar problem, I had a list of contacts when I selected one others used to get set automatically..

    To solve this problem, I added a ArrayList and added the position of the item which was clicked. And while drawing in getView of my adapter, I used to check if it is present in my arraylist.

提交回复
热议问题