8000 Don't drop retry/refresh events before uiReceiver is set by evant · Pull Request #754 · androidx/androidx · GitHub
[go: up one dir, main page]

Skip to content

Conversation

evant
Copy link
Contributor
@evant evant commented Jan 24, 2025

Proposed Changes

Because uiReceiver is set asynchronously it's possible to race with a call to retry or refresh on the PagingDataPresenter.

Changed the implementation to record calling these methods and then forward the event when the uiReceiver is set.

Testing

Test: ./gradlew test connectedCheck

Issues Fixed

Fixes: b/330725007

Because uiReceiver is set asynchronously it's possible to race with a
call to retry or refresh on the PagingDataPresenter.

Changed the implementation to record calling these methods and then
forward the event when the uiReceiver is set.

Test: ./gradlew test connectedCheck
Fixes: b/330725007
Copy link
Member
@claraf3 claraf3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Eva, thanks for the PR!

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.

2 participants

0