transformPage

open fun transformPage(@NonNull page: View, position: Float)(source)

Apply a property transformation to the given page.

Parameters

page

Apply the transformation to this page

position

Position of page relative to the current front-and-center position of the pager. 0 is front and center. 1 is one full page position to the right, and -2 is two pages to the left. Minimum / maximum observed values depend on how many pages we keep attached, which depends on offscreenPageLimit.

See also