Skip to content
This repository was archived by the owner on Jul 14, 2021. It is now read-only.
This repository was archived by the owner on Jul 14, 2021. It is now read-only.

多个adapter(DelegateAdapter.Adapter),单个adapter数据刷新失败 #517

Description

@kaishuiWang

项目中有多个adapter(DelegateAdapter.Adapter),并delegateAdapters.add(adapter),后面有个场景,需要对单个adapter进行数据更改,并局部刷新
List applicationInfoBeans = resourcesInfos.subList(0, 4);
adapter.setData(applicationInfoBeans);
adapter.notifyDataSetChanged();
该方法会失败并crash。求助中

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions