list view position is getting changed when scrolling on android

后端 未结 3 1139
孤街浪徒
孤街浪徒 2020-12-06 12:08

I have list view [text view and check box controlls] with more data. I will choose the item from list view and display the selected items in the next activity. My problem is

3条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-06 12:09

    I solved the problem. i add the

      View view = null;
      convertView = null;  //in the get view and comments the else part of
            if (convertView == null) {
                    }
                    /*else{
                    } */
    

提交回复
热议问题