LithoLayoutResult

open class LithoLayoutResult(val context: ComponentContext, val node: LithoNode, val layoutOutput: YogaLayoutOutput) : LayoutResult

This is the default implementation of a LayoutResult for Litho.

Inheritors

Constructors

Link copied to clipboard
constructor(context: ComponentContext, node: LithoNode, layoutOutput: YogaLayoutOutput)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val childrenCount: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val delegate: LayoutResult?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@get:Px
open override val height: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val layoutData: Any?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val node: LithoNode
Link copied to clipboard
@get:Px
open override val paddingBottom: Int
Link copied to clipboard
@get:Px
open override val paddingLeft: Int
Link copied to clipboard
@get:Px
open override val paddingRight: Int
Link copied to clipboard
@get:Px
open override val paddingTop: Int
Link copied to clipboard
open override val renderUnit: LithoRenderUnit?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@get:Px
open override val width: Int
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun getChildAt(index: Int): LithoLayoutResult
Link copied to clipboard
open override fun getXForChildAtIndex(index: Int): Int
Link copied to clipboard
open override fun getYForChildAtIndex(index: Int): Int
Link copied to clipboard
Link copied to clipboard

Since layout data like the layout context and the diff node are not required after layout calculation they can be released to free up memory.