layout

fun layout(resolveResult: ResolveResult, sizeConstraints: SizeConstraints, version: Int, treeId: Int, currentLayoutState: LayoutState?, diffTreeRoot: DiffNode?, future: TreeFuture<*>?, perfEvent: PerfEvent?): LayoutState

Function to calculate a new layout.


fun layout(resolveResult: ResolveResult, widthSpec: Int, heightSpec: Int, version: Int, treeId: Int, currentLayoutState: LayoutState?, diffTreeRoot: DiffNode?, future: TreeFuture<*>?, perfEvent: PerfEvent?): LayoutState