ResourceBuilders.AndroidImageResourceByResId.Builder

Added in 1.0.0
Deprecated in 1.2.0

class ResourceBuilders.AndroidImageResourceByResId.Builder


Builder for AndroidImageResourceByResId

Summary

Public constructors

Public functions

ResourceBuilders.AndroidImageResourceByResId

Builds an instance from accumulated values.

ResourceBuilders.AndroidImageResourceByResId.Builder

Sets the Android resource ID of this image.

Public constructors

Builder

Added in 1.0.0
Deprecated in 1.2.0
Builder()

Public functions

build

Added in 1.0.0
Deprecated in 1.2.0
fun build(): ResourceBuilders.AndroidImageResourceByResId

Builds an instance from accumulated values.

setResourceId

Added in 1.0.0
Deprecated in 1.2.0
fun setResourceId(resourceId: @DrawableRes Int): ResourceBuilders.AndroidImageResourceByResId.Builder

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