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

Skip to content

fixed: scroll to middle of the homepage

Hasib Prince requested to merge 2109-fix_scroll_homepage into main

Description

This MR fixes the issue When the limited result is found, homepage is refreshed and homepage is scrolled down to the middle.

Screenshots

Before After
Homepage_before Homepage_after

Technical details

Homepage displays apps in the following order: Gplay, Open source and at the bottom PWA apps

When limited result is found for homepage, the token is refreshed then the homepage is refreshed as well. In this process, OpenSource apps are fetched faster than gplay apps and open-source apps are displayed. Later gplay apps are fetched and they are displayed at the top of the recyclerview following the order and remain hidden at the top of the recyclerview.

So, now it's scrolled to the top forcefully when homepage is refreshed with new data to avoid confusion.

Tests

Issues

backlog/-/issues/2109

10 commandments of code reviews

👪 https://gitlab.e.foundation/internal/wiki/-/wikis/mobile-team/guidelines/Code-review

Edited by Hasib Prince

Merge request reports

Loading