Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.


interface 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.


Public methods
abstract Unit
transformPage(@NonNull page: View, position: Float)

Apply a property transformation to the given page.

Public methods


abstract fun transformPage(
    @NonNull page: View,
    position: Float
): Unit

Apply a property transformation to the given page.

page View: Apply the transformation to this page
position Float: 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.