Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

App Crashing If the List size is 0. #111

Open
NandagopalR opened this issue Nov 5, 2019 · 2 comments
Open

App Crashing If the List size is 0. #111

NandagopalR opened this issue Nov 5, 2019 · 2 comments

Comments

@NandagopalR
Copy link

Actually, In onCreate, i'm using StickyHeaderLayoutManager as a layout manager and i'm passing the size of my list is 0 at initial stage. Once i got the data from the api, i'll notify the adapter. The thing is, when i'm passing the list size as 0, the adapter sending IndexOutOfBoundException ItemCount is -1.

@DevAnuragGarg
Copy link

The same has been happening

@SuperKung
Copy link

change the version to 0.7.11

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants