ResourceIdImageHolder

data class ResourceIdImageHolder(val resId: Int, val crop: Boolean) : ImageHolder

A data class representing an image from a resource

Parameters

resId

The resource ID of the image

crop

Whether to crop the image

Constructors

Link copied to clipboard
constructor(resId: Int, crop: Boolean)

Properties

Link copied to clipboard
open override val crop: Boolean
Link copied to clipboard
val resId: Int