DimensionBuilders.DpProp.Builder

public final class DimensionBuilders.DpProp.Builder implements DimensionBuilders.ContainerDimension.Builder, DimensionBuilders.ImageDimension.Builder, DimensionBuilders.SpacerDimension.Builder


Builder for DpProp.

Summary

Public constructors

Public methods

@Override @NonNull DimensionBuilders.DpProp

Builds an instance with values accumulated in this Builder.

@NonNull DimensionBuilders.DpProp.Builder
setValue(@Dimension(unit = "") @NonNull float value)

Sets the value, in dp.

Public constructors

Builder

public Builder()

Public methods

build

@Override
@NonNull
public @Override DimensionBuilders.DpProp build()

Builds an instance with values accumulated in this Builder.

setValue

@NonNull
public DimensionBuilders.DpProp.Builder setValue(@Dimension(unit = "") @NonNull float value)

Sets the value, in dp.