toggle menu
HaishinKit
androidJvm
switch theme
search in API
lottie
/
com.haishinkit.lottie
/
LottieScreen
/
setAnimation
set
Animation
fun
setAnimation
(
@
RawRes
rawRes
:
Int
)
Setter for animation from a file in the raw directory.
fun
setAnimation
(
assetName
:
String
)
fun
setAnimation
(
stream
:
InputStream
?
,
cacheKey
:
String
?
=
null
)
fun
setAnimation
(
stream
:
ZipInputStream
?
,
cacheKey
:
String
?
=
null
)