Skip to content

fix: Prevent crash with Paging IndexOutOfBoundsException#1129

Merged
nikclayton merged 1 commit intopachli:mainfrom
nikclayton:tpa-crash
Nov 25, 2024
Merged

fix: Prevent crash with Paging IndexOutOfBoundsException#1129
nikclayton merged 1 commit intopachli:mainfrom
nikclayton:tpa-crash

Conversation

@nikclayton
Copy link
Copy Markdown
Contributor

getItemViewType is occasionally called with a position that's out of range; trying to get the item at that position throws an IndexOutOfBoundsException.

Catch it, and return the placeholder view type.

getItemViewType is occasionally called with a position that's out of
range; trying to get the item at that position throws an
`IndexOutOfBoundsException`.

Catch it, and return the placeholder view type.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant