ListBuilderDsl

public final class ListBuilderDsl extends TemplateSliceBuilder, ListBuilder

Object
   ↳ TemplateSliceBuilder
     ↳ ListBuilder
       ↳ ListBuilderDsl

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

ListBuilderDsl(@NonNull Context context, @NonNull Uri uri, long ttl)

Extension functions

final @NonNull ListBuilder
ListBuilderKt.gridRow(
    @NonNull ListBuilderDsl receiver,
    @NonNull Function1<@NonNull GridRowBuilderDslUnit> buildGrid
)
final @NonNull ListBuilder
ListBuilderKt.header(
    @NonNull ListBuilderDsl receiver,
    @NonNull Function1<@NonNull HeaderBuilderDslUnit> buildHeader
)
final @NonNull ListBuilder
ListBuilderKt.inputRange(
    @NonNull ListBuilderDsl receiver,
    @NonNull Function1<@NonNull InputRangeBuilderDslUnit> buildInputRange
)
final @NonNull ListBuilder
ListBuilderKt.range(
    @NonNull ListBuilderDsl receiver,
    @NonNull Function1<@NonNull RangeBuilderDslUnit> buildRange
)
final @NonNull ListBuilder
ListBuilderKt.row(
    @NonNull ListBuilderDsl receiver,
    @NonNull Function1<@NonNull RowBuilderDslUnit> buildRow
)
final @NonNull ListBuilder
ListBuilderKt.seeMoreRow(
    @NonNull ListBuilderDsl receiver,
    @NonNull Function1<@NonNull RowBuilderDslUnit> buildRow
)

Inherited methods

From class ListBuilder
From class TemplateSliceBuilder
@RestrictTo(value = RestrictTo.Scope.LIBRARY) boolean
@RestrictTo(value = RestrictTo.Scope.LIBRARY) @NonNull Slice.Builder
@RestrictTo(value = RestrictTo.Scope.LIBRARY) @NonNull Clock

Public constructors

ListBuilderDsl

public final ListBuilderDsl(@NonNull Context context, @NonNull Uri uri, long ttl)

Extension functions

ListBuilderKt.gridRow

@NonNull
public final ListBuilder ListBuilderKt.gridRow(
    @NonNull ListBuilderDsl receiver,
    @NonNull Function1<@NonNull GridRowBuilderDslUnit> buildGrid
)
See also
addGridRow

ListBuilderKt.header

@NonNull
public final ListBuilder ListBuilderKt.header(
    @NonNull ListBuilderDsl receiver,
    @NonNull Function1<@NonNull HeaderBuilderDslUnit> buildHeader
)
See also
setHeader

ListBuilderKt.inputRange

@NonNull
public final ListBuilder ListBuilderKt.inputRange(
    @NonNull ListBuilderDsl receiver,
    @NonNull Function1<@NonNull InputRangeBuilderDslUnit> buildInputRange
)
See also
addInputRange

ListBuilderKt.range

@NonNull
public final ListBuilder ListBuilderKt.range(
    @NonNull ListBuilderDsl receiver,
    @NonNull Function1<@NonNull RangeBuilderDslUnit> buildRange
)
See also
addRange

ListBuilderKt.row

@NonNull
public final ListBuilder ListBuilderKt.row(
    @NonNull ListBuilderDsl receiver,
    @NonNull Function1<@NonNull RowBuilderDslUnit> buildRow
)
See also
addRow

ListBuilderKt.seeMoreRow

@NonNull
public final ListBuilder ListBuilderKt.seeMoreRow(
    @NonNull ListBuilderDsl receiver,
    @NonNull Function1<@NonNull RowBuilderDslUnit> buildRow
)
See also
setSeeMoreRow