ScrollDecision
data class ScrollDecision(val action: ScrollAction, val targetScrollTop: Double, val smooth: Boolean, val naturalAdvance: Boolean, val anchorIndex: Int, val lastActiveIndex: Int)(source)
Where the scroll should go this frame, and how.
Properties
Link copied to clipboard
Whether to move at all.
Link copied to clipboard
The line the view follows.
Link copied to clipboard
The last line of the active set.
Link copied to clipboard
The view is advancing from where the timeline last left it, not after a seek or a user scroll. Upstream keeps a theme's full per-line stagger only for these.
Link copied to clipboard
Where the view should be, already clamped to what it can reach.