com.ToxicBakery.viewpager.transforms / FlipHorizontalTransformer

FlipHorizontalTransformer

open class FlipHorizontalTransformer : ABaseTransformer

Constructors

<init>

FlipHorizontalTransformer()

Inherited Properties

isPagingEnabled

open val isPagingEnabled: Boolean

Indicates if the default animations of the view pager should be used.

Functions

onPostTransform

open fun onPostTransform(page: View, position: Float): Unit

Called each .transformPage after .onTransform.

onTransform

open fun onTransform(page: View, position: Float): Unit

Called each .transformPage.

Inherited Functions

hideOffscreenPages

open fun hideOffscreenPages(): Boolean

If the position offset of a fragment is less than negative one or greater than one, returning true will set the fragment alpha to 0f. Otherwise fragment alpha is always defaulted to 1f.

onPreTransform

open fun onPreTransform(page: View, position: Float): Unit

Called each .transformPage before {.onTransform.

transformPage

open fun transformPage(page: View, position: Float): Unit

Apply a property transformation to the given page. For most use cases, this method should not be overridden. Instead use .transformPage to perform typical transformations.