LayoutElementBuilders.Layout.Builder


public final class LayoutElementBuilders.Layout.Builder


Builder for Layout

Summary

Public constructors

Creates an instance of Builder.

Public methods

@NonNull LayoutElementBuilders.Layout

Builds an instance from accumulated values.

@NonNull LayoutElementBuilders.Layout.Builder

Sets the root element in the layout.

Public constructors

Builder

Added in 1.0.0
public Builder()

Creates an instance of Builder.

Public methods

build

Added in 1.0.0
public @NonNull LayoutElementBuilders.Layout build()

Builds an instance from accumulated values.

setRoot

Added in 1.0.0
public @NonNull LayoutElementBuilders.Layout.Builder setRoot(@NonNull LayoutElementBuilders.LayoutElement root)

Sets the root element in the layout.