PageTransformer

A PageTransformer is invoked whenever a visible/attached page is scrolled. This offers an opportunity for the application to apply a custom transformation to the page views using animation properties.

As property animation is only supported as of Android 3.0 and forward, setting a PageTransformer on a ViewPager on earlier platform versions will be ignored.

Functions

Link copied to clipboard
abstract fun transformPage(@NonNull page: View, position: Float)
Apply a property transformation to the given page.