mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-03 23:15:31 +00:00
8e35c61327
To remove the flash on refresh of the topsites list we have to use submitList, however using this too high up in the hierarchy of our listAdapters within listAdapters will cause children to refresh at once. The solution to this is to use submitList lower. Using it in TopSitesPagerAdapter.kt to update the TopSitesAdapter is the way to go. I've also had to use a dummy item for the "removed" Topsite ( with id = -1) so I can manually diff that before using submitList. |
||
---|---|---|
.. | ||
sampledata | ||
src | ||
.gitignore | ||
build.gradle | ||
lint-baseline.xml | ||
lint.xml | ||
metrics.yaml | ||
pings.yaml | ||
proguard-android-optimize-3.5.0-modified.txt | ||
proguard-rules.pro |