DimensionBuilders.SpProp.Builder

Added in 1.0.0
Deprecated in 1.2.0

public final class DimensionBuilders.SpProp.Builder


Builder for SpProp

Summary

Public constructors

Public methods

@NonNull DimensionBuilders.SpProp

Builds an instance from accumulated values.

@NonNull DimensionBuilders.SpProp.Builder
setValue(@Dimension(unit = 2) float value)

Sets the value, in sp.

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 DimensionBuilders.SpProp build()

Builds an instance from accumulated values.

setValue

Added in 1.0.0
Deprecated in 1.2.0
public @NonNull DimensionBuilders.SpProp.Builder setValue(@Dimension(unit = 2) float value)

Sets the value, in sp.