ImageLoader

interface ImageLoader

Deprecated

This feature has been deprecated. It is recommended to use Compose Multiplatform instead.

Loads a KalugaImage based on a provided identifier.

Inheritors

Functions

Link copied to clipboard
abstract fun loadImage(identifier: String, defaultValue: KalugaImage?): KalugaImage?

Attempts to load the KalugaImage resource associated with a given identifier. If no match is found, the defaultValue will be returned.