animate Scroll To Page
Content copied to clipboard
Animate (smooth scroll) to the given page to the middle of the viewport.
Cancels the currently running scroll, if any, and suspends until the cancellation is complete.
Parameters
page
the page to animate to. Must be >= 0.
page Offset
the percentage of the page size to offset, from the start of page. Must be in the range -1f..1f.