fixed: scroll to middle of the homepage
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.