HaishinKit
Toggle table of contents
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
HaishinKit
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
)