RecyclerView.Adapter.notifyItemChanged() never passes payload to onBindViewHolder()

前端 未结 4 896
执笔经年
执笔经年 2020-12-24 06:01

I\'m trying to update a ViewHolder in a RecyclerView without rebinding the entire thing. According to the docs, I should do this by calling R

4条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-24 06:57

    In some case ,it worked with notifyItemRangeChanged(getItemRealCount(), 1).

提交回复
热议问题