loadAnimation

expect fun loadAnimation(screen: LvglObjectBase, time: UInt, delay: UInt, autoDel: Boolean, animType: ScreenLoadAnimation)
expect fun loadAnimation(screen: Screen, time: UInt, delay: UInt, autoDel: Boolean, animType: ScreenLoadAnimation)

Switch screen with animation.

Parameters

screen

The new screen to load.

time

Time of the animation.

delay

Delay before the transition.

autoDel

If true then automatically delete the old screen.

animType

The type of animation to use, eg ScreenLoadAnimation.MOVE_LEFT.

actual fun loadAnimation(screen: LvglObjectBase, time: UInt, delay: UInt, autoDel: Boolean, animType: ScreenLoadAnimation)
actual fun loadAnimation(screen: Screen, time: UInt, delay: UInt, autoDel: Boolean, animType: ScreenLoadAnimation)
actual fun loadAnimation(screen: LvglObjectBase, time: UInt, delay: UInt, autoDel: Boolean, animType: ScreenLoadAnimation)
actual fun loadAnimation(screen: Screen, time: UInt, delay: UInt, autoDel: Boolean, animType: ScreenLoadAnimation)