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

IllegalStateException when loading items #117

Open
AlonShahaf opened this issue Jun 28, 2020 · 0 comments
Open

IllegalStateException when loading items #117

AlonShahaf opened this issue Jun 28, 2020 · 0 comments
Labels
new Describes the issue is reported recently and not reviewed by the maintainers

Comments

@AlonShahaf
Copy link

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]
@AlonShahaf AlonShahaf added the new Describes the issue is reported recently and not reviewed by the maintainers label Jun 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
new Describes the issue is reported recently and not reviewed by the maintainers
Projects
None yet
Development

No branches or pull requests

1 participant