ResourceBuilders.AndroidImageResourceByResId.Builder

Added in 1.0.0
Deprecated in 1.2.0

public final class ResourceBuilders.AndroidImageResourceByResId.Builder


Builder for AndroidImageResourceByResId

Summary

Public constructors

Public methods

@NonNull ResourceBuilders.AndroidImageResourceByResId

Builds an instance from accumulated values.

@NonNull ResourceBuilders.AndroidImageResourceByResId.Builder
setResourceId(@DrawableRes int resourceId)

Sets the Android resource ID of this image.

Public constructors

Builder

Added in 1.0.0
Deprecated in 1.2.0
public Builder()

Public methods

build

Added in 1.0.0
Deprecated in 1.2.0
public @NonNull ResourceBuilders.AndroidImageResourceByResId build()

Builds an instance from accumulated values.

setResourceId

Added in 1.0.0
Deprecated in 1.2.0
public @NonNull ResourceBuilders.AndroidImageResourceByResId.Builder setResourceId(@DrawableRes int resourceId)

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