commonMain.io.github.alexzhirkevich.compottie.NetworkAssetsManager.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of compottie-network-desktop Show documentation
Show all versions of compottie-network-desktop Show documentation
Compose Multiplatform lottie animation
The newest version!
package io.github.alexzhirkevich.compottie
import androidx.compose.runtime.Stable
import io.github.alexzhirkevich.compottie.assets.LottieAssetsManager
/**
* Asset manager that load images from web.
*
* @param cacheStrategy caching strategy. Caching to system temp dir by default
* */
@OptIn(InternalCompottieApi::class)
@Stable
public fun NetworkAssetsManager(
cacheStrategy: LottieCacheStrategy = DiskCacheStrategy.Instance,
) : LottieAssetsManager = NetworkAssetsManager(
request = DefaultHttpRequest,
cacheStrategy = cacheStrategy
)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy