Asset

inline class Asset(assetName: String) : 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.

Constructors

Asset
Link copied to clipboard
fun Asset(assetName: String)

Properties

assetName
Link copied to clipboard
val assetName: String