ViewCompatComponent
Deprecated
A component that can wrap a view using a ViewBinder class to bind the view and a to create the mount contents. This component will have a different recycle pool per ViewCreator instance.
Deprecated
ViewCompatComponent is not efficient as it will do measurement of views twice. Recommended way now is to use either ViewRenderInfo (which utilizes same interfaces as this class: ViewCreator and ViewBinder) if the view is used with sections API or create a custom MountSpec.
Functions
Link copied to clipboard
abstract fun acceptTriggerEvent(eventTrigger: EventTrigger<out Any>, eventState: Any, params: Array<Any>): Any
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
For internal use, only.
Link copied to clipboard
Link copied to clipboard
open fun <V : View?> get(viewCreator: ViewCreator<V>, componentName: String): ViewCompatComponent<V>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
This indicates the type of the Object that will be returned by mount.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Should only be used by logging to provide more readable messages.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Determine if this component has equivalent props to a given component.
Link copied to clipboard
Compares this component to a different one to check if they are the same This is used to be able to skip rendering a component again.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun measureMightNotCacheInternalNode(c: ComponentContext, widthSpec: Int, heightSpec: Int, outputSize: Size)
Should not be used!
Link copied to clipboard
Create the object that will be mounted in the LithoView.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard