Skip to content

Androidx migration reapply#66

Closed
t895 wants to merge 2 commits into
GrapheneOS:mainfrom
t895:androidx-reapply
Closed

Androidx migration reapply#66
t895 wants to merge 2 commits into
GrapheneOS:mainfrom
t895:androidx-reapply

Conversation

@t895

@t895 t895 commented Jun 15, 2025

Copy link
Copy Markdown
Contributor

Adds an additional commit that fixes issues with loading data from Cursors

Closes #64

t895 added 2 commits June 14, 2025 21:45
The new androidx version of LoaderManager can call onLoadFinished with a cursor that has been received before. Upon receiving it a second time, it will be in an inconsistent position and breaks loading data. This just resets the position to the expected -1 position if it's not null and then runs the code we originally wrote to handle UI updates.
@thestinger

Copy link
Copy Markdown
Member

Manually merged due to a conflict.

@thestinger thestinger closed this Aug 5, 2025
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.

Switching from another app to Messaging closes any open conversation

2 participants