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

Sets the content description.

ListBuilder.RangeBuilder

Set the primary action for this row.

ListBuilder.RangeBuilder

Set the subtitle.

ListBuilder.RangeBuilder

Set the title.

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

Sets the title item to be the provided icon.

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

Sets the title item to be the provided icon.

Public constructors

RangeBuilderDsl

Added in 1.0.0-alpha08
RangeBuilderDsl()