ResolveContext

class ResolveContext(val treeId: Int, val cache: MeasuredResultCache, treeState: TreeState?, val layoutVersion: Int, val rootComponentId: Int, val isAccessibilityEnabled: Boolean, treeFuture: TreeFuture<*>?, val currentRoot: LithoNode?, val perfEventLogger: PerfEvent?, val componentsLogger: ComponentsLogger?) : CalculationContext

Constructors

Link copied to clipboard
constructor(treeId: Int, cache: MeasuredResultCache, treeState: TreeState?, layoutVersion: Int, rootComponentId: Int, isAccessibilityEnabled: Boolean, treeFuture: TreeFuture<*>?, currentRoot: LithoNode?, perfEventLogger: PerfEvent?, componentsLogger: ComponentsLogger?)

Properties

Link copied to clipboard
open override val cache: MeasuredResultCache
Link copied to clipboard
val componentsLogger: ComponentsLogger?
Link copied to clipboard
Link copied to clipboard
open override val eventHandlers: List<Pair<String, 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
open override val layoutVersion: Int
Link copied to clipboard
val perfEventLogger: PerfEvent?
Link copied to clipboard
open override val rootComponentId: Int
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: String, 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