Skip to main content

Moko Resources

Use

val imageLoader = ImageLoader {
// ...
components {
+ add(MokoResourceFetcher.Factory())
}

// in Android target
options {
+ androidContext(applicationContext)
}
}
// ...

Support AssetResource, ColorResource, FileResource, ImageResource.