IOSMOKOImageLoader

MOKOImageLoader backed by the asset catalog an ImageResource points at.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun fromResource(imageResource: ERROR CLASS: Symbol not found for ImageResource): ERROR CLASS: Symbol not found for ImageProvider

Returns an ImageProvider for the UIImage behind imageResource.

open override fun fromResource(imageResource: ERROR CLASS: Symbol not found for ImageResource, isCacheable: Boolean): ERROR CLASS: Symbol not found for ImageProvider

Returns an ImageProvider for the UIImage behind imageResource. isCacheable has no effect on iOS and is accepted only to keep the common interface uniform.

abstract fun fromResource(imageResource: dev/icerock/moko/resources/ImageResource): ru/sulgik/mapkit/map/ImageProvider

Returns an ImageProvider that draws imageResource.

abstract fun fromResource(imageResource: dev/icerock/moko/resources/ImageResource, isCacheable: Boolean): ru/sulgik/mapkit/map/ImageProvider

Returns an ImageProvider that draws imageResource, letting MapKit keep the decoded image in its own cache.