Companion

object Companion

Static methods to create an instance of ImageHolder.

Functions

Link copied to clipboard

Create an instance of ImageHolder from given Bitmap.

@RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP_PREFIX])
fun from(image: Image): ImageHolder

Create an instance of ImageHolder from given Image.

fun from(@DrawableRes drawableId: Int): ImageHolder

Create an instance of ImageHolder from given DrawableRes id.