Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Fix blinking of search and update list

Description

The App Lounge had an issue where, if a user was on the search or update screen and started installing an app from the list, the screen would flicker/blink due to rapid, unnecessary UI updates for unchanged data.

The issue and potential solutions are detailed in work item #3518 and #3516.

I have implemented a new DiffUtil that is now used on both the search and update screens. This ensures that list items are only updated when relevant data (e.g., name, author, etc.) actually changes, effectively resolving the flickering/blinking issue.

Screenshots

error screencast #2751

error screencast #3536

fixed screencast

Technical details

Tests

Issues

closes #3536 and #2751

10 commandments of code review

👪 ❤️ code review guidelines

Edited by dev-12

Merge request reports

Loading