ImageLoader

interface ImageLoader

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.