Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
A
Android
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 6
    • Merge Requests 6
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

and though bugs are the bane of my existence, rest assured the wretched thing will get the best of care here

  • Confidential and Proprietary
  • NYNJA
  • Android
  • Merge Requests
  • !2623

Closed
Opened May 19, 2020 by delete2@delete2Contributor
  • Report abuse
Report abuse

NY-9849: [AN]: IndexOutOfBoundsException in ChatLinearLayoutManager recycler fix

  • Overview 1
  • Commits 1
  • Changes 1

Created by: rvc-brickabode

From our internal process of review:

This problem is caused by RecyclerView Data modified in different threads. The best way is checking all data access. And a workaround is wrapping LinearLayoutManager and use a try-catch-finally block as shown below.

Another alternative is to override supportsPredictiveItemAnimations method and returns false. However, we don't want to negatively impact animations the application might have.

These are the two approaches the community is using to avoid this issue.

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Reference: exconfidential/nynja/Android!2623
Source branch: NY-9849