Skip to content

Android: load posts missing after a refresh - #40

Merged
masonasons merged 1 commit into
masonasons:mainfrom
aaron-gh:pr/gap-loading
Nov 17, 2026
Merged

masonasons merged 1 commit into
masonasons:mainfrom
aaron-gh:pr/gap-loading

Conversation

@aaron-gh

Copy link
Copy Markdown
Contributor

A refresh that can't reach the previous newest post leaves a gap. The core
marks the row before it with gap_after and fills it on load_gap, which
Android never sent, so those posts were skipped.

  • RowUi.gapAfter from the row JSON; CoreViewModel.loadGap(id).
  • The timeline sends load_gap once per gap, when the row next to it is on
    screen.

Testing: tested on a Galaxy Z Fold 7 and a Nothing Phone (1).

A refresh that couldn't reach the previous newest post leaves a gap; the core marks the row before it with gap_after and fills it on load_gap, which Android never sent. The timeline now asks for each gap once, when the row next to it is on screen.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@masonasons
masonasons merged commit 7b3ec05 into masonasons:main Nov 17, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants