InputRangeBuilderDsl


class InputRangeBuilderDsl : 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 functions

From androidx.slice.builders.ListBuilder.InputRangeBuilder
ListBuilder.InputRangeBuilder

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

ListBuilder.InputRangeBuilder
addEndItem(action: SliceAction, isLoading: Boolean)

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

ListBuilder.InputRangeBuilder

Sets the content description.

ListBuilder.InputRangeBuilder

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

ListBuilder.InputRangeBuilder

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

ListBuilder.InputRangeBuilder

Set the primary action for this row.

ListBuilder.InputRangeBuilder

Set the subtitle.

ListBuilder.InputRangeBuilder

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

ListBuilder.InputRangeBuilder

Set the title.

ListBuilder.InputRangeBuilder
setTitleItem(icon: IconCompat, imageMode: Int)

Sets the title item to be the provided icon.

ListBuilder.InputRangeBuilder
setTitleItem(icon: IconCompat, imageMode: Int, isLoading: Boolean)

Sets the title item to be the provided icon.

Public constructors

InputRangeBuilderDsl

Added in 1.0.0-alpha08
InputRangeBuilderDsl()