Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ui): fix performance & data loading issues with sticky headers disabled #642

Merged
merged 2 commits into from
Jun 2, 2024

Conversation

JunkFood02
Copy link
Collaborator

About this PR:

  • Fix performance & data loading issues with sticky headers disabled
  • Disable sticky headers by default

Related issues:
https://issuetracker.google.com/u/1/issues/193785330
https://stackoverflow.com/questions/67649953/sticky-headers-with-paging-library-in-jetpack-compose

@Ashinch Ashinch self-requested a review March 11, 2024 01:07
@mbestavros
Copy link
Collaborator

@Ashinch @JunkFood02 Any reason this can't be merged?

@JunkFood02
Copy link
Collaborator Author

Any reason this can't be merged?

The performance regression is not quite noticable with limited items (50 items per page currently). The issue of current implementation is that the app won't load new pages correctly because of the usage of peek instead of get. Since not many users have reported this issue yet, we've chosen to leave sticky headers enabled for now.

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.

None yet

2 participants