FlippableController

A FlippableController which lets you control flipping programmatically.

Author

Wajahat Karim (https://wajahatkarim.com)

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun flip()

Flips the view to the other side. If it's FlippableState.FRONT it goes to FlippableState.BACK and vice-versa

fun flip(flippableState: FlippableState)

Flips the view to the passed flippableState

Link copied to clipboard

Flips the view to the FlippableState.BACK side

Link copied to clipboard

Flips the view to the FlippableState.FRONT side