InputRangeBuilderDsl

public final class InputRangeBuilderDsl extends ListBuilder.InputRangeBuilder


Helper class annotated with @SliceMarker, which is annotated with @DslMarker. Two implicit receivers that are annotated with @SliceMarker are not accessible in the same scope, ensuring a type-safe DSL.

Summary

Public constructors

Inherited methods

From androidx.slice.builders.ListBuilder.InputRangeBuilder
@NonNull ListBuilder.InputRangeBuilder

Adds an action to the end items of the input range builder.

@NonNull ListBuilder.InputRangeBuilder
addEndItem(@NonNull SliceAction action, boolean isLoading)

Adds an action to the end items of the input range builder.

@NonNull ListBuilder.InputRangeBuilder

Sets the content description.

@NonNull ListBuilder.InputRangeBuilder

Set the PendingIntent to send when the current value is updated.

@NonNull ListBuilder.InputRangeBuilder

Set the PendingIntent to send when the current value is updated.

@NonNull ListBuilder.InputRangeBuilder
setLayoutDirection(int layoutDirection)

Sets the desired layout direction for the content in this row.

@NonNull ListBuilder.InputRangeBuilder
setMax(int max)

Set the upper limit of the range.

@NonNull ListBuilder.InputRangeBuilder
setMin(int min)

Set the lower limit of the range.

@NonNull ListBuilder.InputRangeBuilder

Set the primary action for this row.

@NonNull ListBuilder.InputRangeBuilder

Set the subtitle.

@NonNull ListBuilder.InputRangeBuilder

Set the Icon to be displayed as the thumb on the input range.

@NonNull ListBuilder.InputRangeBuilder

Set the title.

@NonNull ListBuilder.InputRangeBuilder
setTitleItem(@NonNull IconCompat icon, int imageMode)

Sets the title item to be the provided icon.

@NonNull ListBuilder.InputRangeBuilder
setTitleItem(@NonNull IconCompat icon, int imageMode, boolean isLoading)

Sets the title item to be the provided icon.

@NonNull ListBuilder.InputRangeBuilder
setValue(int value)

Set the current value of the range.

Public constructors

InputRangeBuilderDsl

Added in 1.0.0-alpha08
public InputRangeBuilderDsl()