ComponentTreeHolder
A class used to store the data backing a RecyclerBinder. For each item the ComponentTreeHolder keeps the RenderInfo which contains the original Component and either the ComponentTree or the TreeState depending upon whether the item is within the current working range or not.
Types
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun computeLayoutAsync(context: ComponentContext, widthSpec: Int, heightSpec: Int, @Nullable measureListener: ComponentTree.MeasureListener)
Link copied to clipboard
open fun computeLayoutSync(context: ComponentContext, widthSpec: Int, heightSpec: Int, @Nullable size: Size)
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
Link copied to clipboard
We may need to wait until the corresponding view is detached before releasing the tree as the view might need to run an animation
Link copied to clipboard
Set whether this ComponentTreeHolder has been inserted into the adapter.
Link copied to clipboard
Link copied to clipboard