Skip to content

feat(android): feed the offset model the rows RecyclerView lays out - #47

Open
SectionTN wants to merge 3 commits into
feat/android-model-nativesfrom
feat/android-model-feed
Open

SectionTN wants to merge 3 commits into
feat/android-model-nativesfrom
feat/android-model-feed

Conversation

@SectionTN

Copy link
Copy Markdown
Owner

stacked on #46. Android now feeds the offset model what RecyclerView lays out: the geometry in px, the store's ops, and the natural length of every laid-out row after each layout pass and scroll step. nothing reads offsets from it yet, that's the next PR.

an unrendered React row now lays out at the model's length for its position instead of SizeEstimator's running mean, so the row on screen and the row in the model are the same number. SizeEstimator is gone. a re-attach of the same store at the same count keeps the lengths, so a tab switch doesn't throw them away.

debug builds compare where RecyclerView put each row with where the model puts it, after each layout pass and when a scroll comes to rest, and log the first disagreement per list. walking every tab of the example and all 20 compare cases logged none.

@coderabbitai

coderabbitai Bot commented Nov 28, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 5d19b576-a649-42f3-ad81-5ea8b3f255f1

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

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.

1 participant