TextView in listview rows showing repeated values on scroll in Android?

后端 未结 3 1304
小鲜肉
小鲜肉 2021-01-12 11:50

I am working with custom Adapter of a ListView in which I have a TextView and a Spinner. After selecting the values from a Spinner, the value after copied to the TextView of

3条回答
  •  死守一世寂寞
    2021-01-12 12:27

    This is because ListView is reusing all previous Views, which are scrolled (not visible).

    Please check out this topic.

提交回复
热议问题