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

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.

Public constructors

RangeBuilderDsl

Added in 1.0.0-alpha08
RangeBuilderDsl()