diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-08-23 00:45:39 +0000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-08-23 00:45:39 +0000 |
| commit | 5f3850ab73903010269df6009204a96f9d3e68ac (patch) | |
| tree | dd57986c6385d0f3b27bc697dba16aeee6c8fdee /app/src/main/java/org/terst/feedreader/ui/AddFeedScreen.kt | |
| parent | bc891a67802c837d77726f618e68c2ac84ea22d7 (diff) | |
Preserve scroll position when the article list changes underneath you
A background fetch (the 5am alarm or the refresh button) inserting new
articles above the current viewport left LazyColumn pointing at the same
numeric index, which after the insert resolves to a different (newer)
article -- the visible list silently jumped forward instead of staying
where you were reading. Re-anchors to the same article by id at whatever
index it now sits at, restoring the exact scroll offset too.
Diffstat (limited to 'app/src/main/java/org/terst/feedreader/ui/AddFeedScreen.kt')
0 files changed, 0 insertions, 0 deletions
