ResourceBuilders.AndroidImageResourceByResId.Builder

public final class ResourceBuilders.AndroidImageResourceByResId.Builder


Builder for AndroidImageResourceByResId

Summary

Public methods

@NonNull ResourceBuilders.AndroidImageResourceByResId

Builds an instance from accumulated values.

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

Sets the Android resource ID of this image.

Public methods

build

@NonNull
public ResourceBuilders.AndroidImageResourceByResId build()

Builds an instance from accumulated values.

setResourceId

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

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