ModifiersBuilders.SlideParentBound.Builder


public final class ModifiersBuilders.SlideParentBound.Builder


Builder for SlideParentBound.

Summary

Public constructors

Creates an instance of Builder.

Public methods

@NonNull ModifiersBuilders.SlideParentBound

Builds an instance from accumulated values.

@NonNull ModifiersBuilders.SlideParentBound.Builder
@RequiresSchemaVersion(major = 1, minor = 200)
setSnapTo(int snapTo)

Sets the snap options to use when sliding using parent boundaries.

Public constructors

Builder

Added in 1.0.0
public Builder()

Creates an instance of Builder.

Public methods

build

Added in 1.0.0
public @NonNull ModifiersBuilders.SlideParentBound build()

Builds an instance from accumulated values.

setSnapTo

Added in 1.0.0
@RequiresSchemaVersion(major = 1, minor = 200)
public @NonNull ModifiersBuilders.SlideParentBound.Builder setSnapTo(int snapTo)

Sets the snap options to use when sliding using parent boundaries. Defaults to SLIDE_PARENT_SNAP_TO_INSIDE if not specified.