ResourceBuilders.AndroidImageResourceByResId


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


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

Summary

Public methods

@DrawableRes int

Gets the Android resource ID of this image.

@NonNull String

Public methods

getResourceId

Added in 1.0.0
public @DrawableRes int getResourceId()

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

toString

public @NonNull String toString()