abstract class ABaseTransformer : PageTransformer
ABaseTransformer() |
open val isPagingEnabled: Boolean
Indicates if the default animations of the view pager should be used. |
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. |
|
open fun onPostTransform(page: View, position: Float): Unit
Called each .transformPage after .onTransform. |
|
open fun onPreTransform(page: View, position: Float): Unit
Called each .transformPage before {.onTransform. |
|
abstract fun onTransform(page: View, position: Float): Unit
Called each .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. |
fun min(value: Float, min: Float): Float
Same as Math.min without double casting, zero closest to infinity handling, or NaN support. |
open class AccordionTransformer : ABaseTransformer |
|
open class BackgroundToForegroundTransformer : ABaseTransformer |
|
open class CubeInTransformer : ABaseTransformer |
|
open class CubeOutTransformer : ABaseTransformer |
|
open class DefaultTransformer : ABaseTransformer |
|
open class DepthPageTransformer : ABaseTransformer |
|
open class DrawerTransformer : ABaseTransformer
Created by dkzwm on 2017/3/2. |
|
open class FlipHorizontalTransformer : ABaseTransformer |
|
open class FlipVerticalTransformer : ABaseTransformer |
|
open class ForegroundToBackgroundTransformer : ABaseTransformer |
|
open class RotateDownTransformer : ABaseTransformer |
|
open class RotateUpTransformer : ABaseTransformer |
|
open class ScaleInOutTransformer : ABaseTransformer |
|
open class StackTransformer : ABaseTransformer |
|
open class TabletTransformer : ABaseTransformer |
|
open class ZoomInTransformer : ABaseTransformer |
|
open class ZoomOutSlideTransformer : ABaseTransformer |
|
open class ZoomOutTransformer : ABaseTransformer |