ResolveContext

class ResolveContext @JvmOverloads constructor(val treeId: Int, val cache: MeasuredResultCache, treeState: TreeState?, val layoutVersion: Int, val rootComponentId: Int, val isAccessibilityEnabled: Boolean, treeFuture: TreeFuture<*>?, val currentResolveResult: ResolveResult?, val isInLayout: Boolean, val scopesToUpdate: DirtyScopeIndex = DirtyScopeIndex.EMPTY, enclosingLayoutContext: LithoLayoutContext? = null) : CalculationContext

Constructors

Link copied to clipboard
constructor(treeId: Int, cache: MeasuredResultCache, treeState: TreeState?, layoutVersion: Int, rootComponentId: Int, isAccessibilityEnabled: Boolean, treeFuture: TreeFuture<*>?, currentResolveResult: ResolveResult?, isInLayout: Boolean, scopesToUpdate: DirtyScopeIndex = DirtyScopeIndex.EMPTY, enclosingLayoutContext: LithoLayoutContext? = null)

Properties

Link copied to clipboard
open override val cache: MeasuredResultCache
Link copied to clipboard
open override val eventHandlers: List<Pair<GlobalKey, EventHandler<*>>>?
Link copied to clipboard
open override val isAccessibilityEnabled: Boolean
Link copied to clipboard
open override val isFutureReleased: Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val layoutVersion: Int
Link copied to clipboard
open override val rootComponentId: Int
Link copied to clipboard
open override val scopesToUpdate: DirtyScopeIndex
Link copied to clipboard
open override val treeFuture: TreeFuture<*>?
Link copied to clipboard
open override val treeId: Int
Link copied to clipboard
open override val treeState: TreeState

Functions

Link copied to clipboard
Link copied to clipboard
open override fun recordEventHandler(globalKey: GlobalKey, eventHandler: EventHandler<*>)

Records a Spec-generated EventHandler. This EventHandlers are an output of the calculation and will be used by EventHandlersController to rebind existing EventHandlers.

Link copied to clipboard
fun release()
Link copied to clipboard