RangeBuilderDsl


public final class RangeBuilderDsl extends 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 methods

From androidx.slice.builders.ListBuilder.RangeBuilder
@NonNull ListBuilder.RangeBuilder

Sets the content description.

@NonNull ListBuilder.RangeBuilder

Set the primary action for this row.

@NonNull ListBuilder.RangeBuilder

Set the subtitle.

@NonNull ListBuilder.RangeBuilder

Set the title.

@NonNull ListBuilder.RangeBuilder
setTitleItem(@NonNull IconCompat icon, int imageMode)

Sets the title item to be the provided icon.

@NonNull ListBuilder.RangeBuilder
setTitleItem(@NonNull IconCompat icon, int imageMode, boolean isLoading)

Sets the title item to be the provided icon.

Public constructors

RangeBuilderDsl

Added in 1.0.0-alpha08
public RangeBuilderDsl()