ResourceBuilders.AndroidImageResourceByResId


@RequiresSchemaVersion(major = 1, minor = 0)
class ResourceBuilders.AndroidImageResourceByResId


An image resource which maps to an Android drawable by resource ID.

Summary

Public functions

Boolean
equals(obj: Any?)
@DrawableRes Int

Gets the Android resource ID of this image.

Int
String

Public functions

equals

fun equals(obj: Any?): Boolean

getResourceId

Added in 1.0.0
fun getResourceId(): @DrawableRes Int

Gets the Android resource ID of this image. This must refer to a drawable under R.drawable.

hashCode

fun hashCode(): Int

toString

fun toString(): String