setAnimationFromUrl

fun setAnimationFromUrl(url: String?, cacheKey: String? = null)

Loads an animation from a URL using the Lottie composition loader.

Parameters

url

The animation URL.

cacheKey

A cache key for uncached-loading mode. Ignored while composition caching is enabled, which is the default for this class.