-
- All Implemented Interfaces:
-
com.airbnb.lottie.compose.LottieCompositionSpec
public final class LottieCompositionSpec.Asset implements LottieCompositionSpec
Load an animation from the assets directory of your app. This isn't type safe like RawRes so make sure that the path to your animation is correct this will fail.
-
-
Constructor Summary
Constructors Constructor Description LottieCompositionSpec.Asset(String assetName)
-
Method Summary
Modifier and Type Method Description final StringgetAssetName()-
-
Constructor Detail
-
LottieCompositionSpec.Asset
LottieCompositionSpec.Asset(String assetName)
-
-
Method Detail
-
getAssetName
final String getAssetName()
-
-
-
-