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

IllegalStateException when loading items #117

Description

@AlonShahaf

I'm experiencing a crash when reloading my sections.
In my setup we have 1xItemSection + 2xListSection, all using the same view item type.
On binding, we hide all sections, and when we update the dataset we do the following:

  1. setItem on ItemSection (could be a null item)
  2. set on both ListSection
  3. show the section if they contain data.

We're also using DiffUtil for both list sections.
The crash is happening on NestedSection.java #199
When we debug the section had data and itemPosition is usually 0.

Thanks in advance.

  • Android API level: [28]
  • Library Version: [3.0.0]
  • Recyclerview Version [AndroidX 1.0.0]

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

    newDescribes the issue is reported recently and not reviewed by the maintainers

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions