Skip to content

3.0.14的bug #6813

Description

@OrangeAppleFoot

当你RecyclerView设置为GridLayoutManager,这是你通过选项卡获取新的数据后不断创建新的BaseQuickAdapter,重新给RecyclerView复制adapter,你会发现当一个选项卡获取到数据为空你也创建一个adapter复制给RecyclerView,这时候你切换选项卡获取新的数据你也创建一个adapter复制给RecyclerView,你会发现布局就会变形不对,问题出在manager.spanSizeLookup下的getItemViewType获取上,会残留旧的数据。你看一下啊。

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