@Deprecated public class ViewCompatComponent<V extends View> extends Component
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.Modifier and Type | Class and Description |
---|---|
static class |
ViewCompatComponent.Builder<V extends View>
Deprecated.
|
Component.ContainerBuilder<T extends Component.ContainerBuilder<T>>
ComponentLifecycle.MountType, ComponentLifecycle.RenderData, ComponentLifecycle.StateContainer, ComponentLifecycle.StateUpdate, ComponentLifecycle.TransitionContainer
mSplitChildrenLayoutInThreadPool
Modifier and Type | Method and Description |
---|---|
protected boolean |
canMeasure()
Deprecated.
Whether this
ComponentLifecycle is able to measure itself according
to specific size constraints. |
ViewCompatComponent.Builder<V> |
create(ComponentContext componentContext)
Deprecated.
|
V |
createMountContent(ComponentContext c)
Deprecated.
|
static <V extends View> |
get(ViewCreator<V> viewCreator,
String componentName)
Deprecated.
|
ComponentLifecycle.MountType |
getMountType()
Deprecated.
This indicates the type of the
Object that will be returned by ComponentLifecycle.mount(com.facebook.litho.ComponentContext, java.lang.Object) . |
protected void |
onMeasure(ComponentContext c,
ComponentLayout layout,
int widthSpec,
int heightSpec,
Size size)
Deprecated.
|
protected void |
onPrepare(ComponentContext c)
Deprecated.
|
canResolve, clearCachedLayout, copyInterStageImpl, getEventDispatcher, getId, getOrCreateCommonProps, getScopedContext, getSimpleName, getStateContainer, isEquivalentTo, makeShallowCopy, measure, recordEventTrigger, registerWorkingRange, releaseCachedLayout, setScopedContext, updateInternalChildState, updateInternalChildState, willRender
acceptTriggerEvent, acquireDiff, acquireOutput, applyPreviousRenderData, callsShouldUpdateOnMount, canMountIncrementally, canPreallocate, createInitialState, dispatchErrorEvent, dispatchErrorEvent, dispatchOnEnteredRange, dispatchOnEvent, dispatchOnExitedRange, getEventTrigger, getExtraAccessibilityNodeAt, getExtraAccessibilityNodesCount, getTreePropsForChildren, hasState, implementsAccessibility, implementsExtraAccessibilityNodes, isMountSizeDependent, isPureRender, needsPreviousRenderData, newEventHandler, newEventHandler, newEventTrigger, onBind, onBoundsDefined, onCreateLayout, onCreateLayoutWithSizeSpec, onCreateMountContent, onCreateMountContentPool, onCreateTransition, onError, onLoadStyle, onMeasureBaseline, onMount, onPopulateAccessibilityNode, onPopulateExtraAccessibilityNode, onUnbind, onUnmount, poolSize, populateTreeProps, recordRenderData, releaseDiff, releaseOutput, resolve, shouldAlwaysRemeasure, shouldUpdate, shouldUseDisplayList, transferState
public static <V extends View> ViewCompatComponent<V> get(ViewCreator<V> viewCreator, String componentName)
public ViewCompatComponent.Builder<V> create(ComponentContext componentContext)
protected boolean canMeasure()
ComponentLifecycle
ComponentLifecycle
is able to measure itself according
to specific size constraints.canMeasure
in class ComponentLifecycle
protected void onMeasure(ComponentContext c, ComponentLayout layout, int widthSpec, int heightSpec, Size size)
onMeasure
in class ComponentLifecycle
protected void onPrepare(ComponentContext c)
onPrepare
in class ComponentLifecycle
public ComponentLifecycle.MountType getMountType()
ComponentLifecycle
Object
that will be returned by ComponentLifecycle.mount(com.facebook.litho.ComponentContext, java.lang.Object)
.getMountType
in class ComponentLifecycle
ComponentLifecycle.MountType
public V createMountContent(ComponentContext c)
createMountContent
in class ComponentLifecycle