public static class SectionTree.Builder extends Object
SectionTree
.Modifier and Type | Method and Description |
---|---|
SectionTree.Builder |
asyncPropUpdates(boolean asyngPropUpdates)
If enabled, any prop updates done with setRoot will be on a background thread.
|
SectionTree.Builder |
asyncStateUpdates(boolean asyncStateUpdates)
If enabled, all state updates will be performed on a background thread.
|
SectionTree |
build() |
SectionTree.Builder |
changeSetThreadHandler(Handler changeSetThreadHandler)
An optional Handler where
ChangeSet calculation should happen. |
SectionTree.Builder |
tag(String tag)
If enabled, a tag will define the section tree being built
|
public SectionTree.Builder changeSetThreadHandler(Handler changeSetThreadHandler)
ChangeSet
calculation should happen. If not provided the
framework will use its default background thread.public SectionTree.Builder asyncStateUpdates(boolean asyncStateUpdates)
public SectionTree.Builder asyncPropUpdates(boolean asyngPropUpdates)
public SectionTree.Builder tag(String tag)
tag
- tag that labels the section treepublic SectionTree build()
SectionTree
.