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
open ListBuilder.InputRangeBuilder

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

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

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

open ListBuilder.InputRangeBuilder

Sets the content description.

open ListBuilder.InputRangeBuilder

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

open ListBuilder.InputRangeBuilder

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

open ListBuilder.InputRangeBuilder
setLayoutDirection(layoutDirection: Int)

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

open ListBuilder.InputRangeBuilder
setMax(max: Int)

Set the upper limit of the range.

open ListBuilder.InputRangeBuilder
setMin(min: Int)

Set the lower limit of the range.

open ListBuilder.InputRangeBuilder

Set the primary action for this row.

open ListBuilder.InputRangeBuilder

Set the subtitle.

open ListBuilder.InputRangeBuilder

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

open ListBuilder.InputRangeBuilder

Set the title.

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

Sets the title item to be the provided icon.

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

Sets the title item to be the provided icon.

open ListBuilder.InputRangeBuilder
setValue(value: Int)

Set the current value of the range.

Public constructors

InputRangeBuilderDsl

Added in 1.0.0-alpha08
InputRangeBuilderDsl()