mirror of
https://github.com/atsunatsu/Look4Sat.git
synced 2026-10-02 03:15:37 +00:00
fix(mutual): retry prefill scroll until it really lands
On a device the first frame of the match page only contains the station cards and the time-range card, which can be shorter than the viewport — scrollToItem(1) then has no scroll range and silently does nothing, and by the time the async query results grow the list past one screen the one-shot flag is already consumed. Retry every 100ms (up to 2s) until firstVisibleItemIndex reaches the time-range card. Verified with a new Robolectric test that grows the content after a delay. Bump 12.6.
This commit is contained in:
1 parent
94a1a4f7b7
commit
6962a4bfa1
3 files changed
+151
-11
No files matched your search
@@ -1,8 +1,8 @@
|
||||
[versions]
|
||||
#noinspection UnusedVersionCatalogEntry
|
||||
appVersionCode = "491"
|
||||
appVersionCode = "492"
|
||||
#noinspection UnusedVersionCatalogEntry
|
||||
appVersionName = "4.4.7-ba7opf.12.5"
|
||||
appVersionName = "4.4.7-ba7opf.12.6"
|
||||
#noinspection UnusedVersionCatalogEntry
|
||||
compileSdk = "37"
|
||||
#noinspection UnusedVersionCatalogEntry
|
||||
|
||||
Reference in new issue
Block a user