HeaderBuilderDsl


class HeaderBuilderDsl : ListBuilder.HeaderBuilder


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

Sets the content description for the header.

ListBuilder.HeaderBuilder

Sets the action to send when the header is clicked.

ListBuilder.HeaderBuilder

Sets the subtitle for the header builder.

ListBuilder.HeaderBuilder
setSubtitle(subtitle: CharSequence, isLoading: Boolean)

Sets the subtitle for the header builder.

ListBuilder.HeaderBuilder

Sets the summary for the header builder.

ListBuilder.HeaderBuilder
setSummary(summary: CharSequence, isLoading: Boolean)

Sets the summary for the header builder.

ListBuilder.HeaderBuilder

Sets the title for the header builder.

ListBuilder.HeaderBuilder
setTitle(title: CharSequence, isLoading: Boolean)

Sets the title for the header builder.

Public constructors

HeaderBuilderDsl

Added in 1.0.0-alpha08
HeaderBuilderDsl()