Skip to content

个人觉得RecyclerView应该添加clear ViewHolder cache #5

Description

@Zhaoyy

我之前也处理过这种类似主题变换的项目,如果不清楚cache,上拉或者下拉刷新的情况下会出现问题。

我的方法当时是:
list.clear();//只是比你的clear多了一个 getRecycledViewPool().clear();;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions