Recyclerview on Scrolling values changing from adapter

后端 未结 5 1922
情深已故
情深已故 2020-12-05 14:52

I am working on an app where I am trying to populate a list using RecyclerView and recycler adapter as well. But when I scroll through the list quickly sometimes values on t

5条回答
  •  执念已碎
    2020-12-05 15:07

    adding this in the adapter solved the problem

    @Override
    public int getItemViewType(int position)
    {
        return position;
    }
    

提交回复
热议问题