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

Sets the content description for the header.

open ListBuilder.HeaderBuilder
setLayoutDirection(layoutDirection: Int)

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

open ListBuilder.HeaderBuilder

Sets the action to send when the header is clicked.

open ListBuilder.HeaderBuilder

Sets the subtitle for the header builder.

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

Sets the subtitle for the header builder.

open ListBuilder.HeaderBuilder

Sets the summary for the header builder.

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

Sets the summary for the header builder.

open ListBuilder.HeaderBuilder

Sets the title for the header builder.

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

Sets the title for the header builder.

Public constructors

HeaderBuilderDsl

Added in 1.0.0-alpha08
HeaderBuilderDsl()