Package-level declarations
Functions
Link copied to clipboard
inline fun flipXAnimation(initFront: View, initBack: View, frontAnima: (ObjectAnimator) -> Unit = { animator ->
animator.setDuration(500)
animator.interpolator = AccelerateInterpolator()
}, backAnim: (ObjectAnimator) -> Unit = { animator ->
animator.setDuration(500)
animator.interpolator = DecelerateInterpolator()
})
X-axis flip animation.
Link copied to clipboard
inline fun flipYAnimation(initFront: View, initBack: View, frontAnima: (ObjectAnimator) -> Unit = { animator ->
animator.setDuration(500)
animator.interpolator = AccelerateInterpolator()
}, backAnim: (ObjectAnimator) -> Unit = { animator ->
animator.setDuration(500)
animator.interpolator = DecelerateInterpolator()
})
Y-axis flip animation.