ViewCompatComponent
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.
A component that can wrap a view using a ViewBinder class to bind the view and a ViewCreator to create the mount contents. This component will have a different recycle pool per ViewCreator instance.
Types
Functions
This indicates the type of the Object that will be returned by mount.
Compares this component to a different one to check if they are the same
Should not be used! Components should be manually measured only as part of a LayoutState calculation. This will measure a component and set the size in the outputSize object but the measurement result will not be cached and reused for future measurements of this component.
Create the object that will be mounted in the LithoView.