summaryrefslogtreecommitdiff
path: root/app/src/main/java/org/terst/feedreader/opml/Opml.kt
diff options
context:
space:
mode:
authorPeter Stone <thepeterstone@gmail.com>2026-08-23 00:45:39 +0000
committerPeter Stone <thepeterstone@gmail.com>2026-08-23 00:45:39 +0000
commit5f3850ab73903010269df6009204a96f9d3e68ac (patch)
treedd57986c6385d0f3b27bc697dba16aeee6c8fdee /app/src/main/java/org/terst/feedreader/opml/Opml.kt
parentbc891a67802c837d77726f618e68c2ac84ea22d7 (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/opml/Opml.kt')
0 files changed, 0 insertions, 0 deletions