Stay organized with collections
Save and categorize content based on your preferences.
class ListBuilderDsl : ListBuilder
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
Inherited functions |
From androidx.slice.builders.ListBuilder
open ListBuilder |
Adds an action to this list builder.
|
open ListBuilder |
Add a grid row to the list builder.
|
open ListBuilder |
Add an input range row to the list builder.
|
open ListBuilder |
Add a range row to the list builder.
|
open ListBuilder |
Add an star rating row to the list builder.
|
open ListBuilder |
Add a row to the list builder.
|
open ListBuilder |
Add a selection row to the list builder.
|
open Slice |
Construct the slice.
|
open ListBuilder |
Sets the color to use on tintable items within the list builder.
|
open ListBuilder |
Sets a header for this list builder.
|
open ListBuilder |
Sets additional information to be passed to the host of the slice.
|
open ListBuilder |
Sets whether this slice indicates an error, i.e. the normal contents of this slice are unavailable and instead the slice contains a message indicating an error.
|
open ListBuilder |
Sets keywords to associate with this slice.
|
open ListBuilder |
Sets the desired layout direction for this slice.
|
open ListBuilder |
If all content in a slice cannot be shown, a "see more" affordance may be displayed where the content is cut off.
|
open ListBuilder |
If all content in a slice cannot be shown, a "see more" affordance may be displayed where the content is cut off.
|
open ListBuilder |
If all content in a slice cannot be shown, the row added here may be displayed where the content is cut off.
|
|
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-05-15 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-15 UTC."],[],[]]