RangeBuilderDsl

class RangeBuilderDsl : ListBuilder.RangeBuilder


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

Sets the content description.

open ListBuilder.RangeBuilder
setLayoutDirection(layoutDirection: Int)

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

open ListBuilder.RangeBuilder
setMax(max: Int)

Set the upper limit of the range.

open ListBuilder.RangeBuilder
setMode(mode: Int)

Sets the progress bar mode, it could be the determinate or indeterminate mode.

open ListBuilder.RangeBuilder

Set the primary action for this row.

open ListBuilder.RangeBuilder

Set the subtitle.

open ListBuilder.RangeBuilder

Set the title.

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

Sets the title item to be the provided icon.

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

Sets the title item to be the provided icon.

open ListBuilder.RangeBuilder
setValue(value: Int)

Set the current value of the range.

Public constructors

RangeBuilderDsl

Added in 1.0.0-alpha08
RangeBuilderDsl()