public class MountSpecLithoRenderUnit extends LithoRenderUnit
RenderUnit
encapsulates a Litho output to be mounted using Render Core.Modifier and Type | Class and Description |
---|---|
static class |
MountSpecLithoRenderUnit.LithoBindBinder |
static class |
MountSpecLithoRenderUnit.LithoMountBinder |
RenderUnit.Binder<MODEL,CONTENT>, RenderUnit.Extension<MODEL,CONTENT>, RenderUnit.RenderType
mContext, mId, output
Modifier and Type | Method and Description |
---|---|
static MountSpecLithoRenderUnit |
create(long id,
Component component,
ComponentContext context,
NodeInfo nodeInfo,
com.facebook.litho.ViewNodeInfo viewNodeInfo,
int flags,
int importantForAccessibility,
int updateState) |
java.lang.Object |
createContent(Context c) |
MountItemsPool.ItemPool |
createRecyclingPool()
Creates an ItemPool for this mountable content.
|
java.lang.String |
getDescription() |
java.lang.Class<?> |
getRenderContentType() |
protected void |
onEndUpdateRenderUnit() |
protected void |
onStartUpdateRenderUnit() |
static boolean |
shouldUpdateMountItem(MountSpecLithoRenderUnit current,
MountSpecLithoRenderUnit next,
java.lang.Object currentData,
java.lang.Object nextData) |
getComponentContext, getId, getLayoutOutput, getMatchHostBounds, isMountableView, isRecyclingDisabled
addAttachDetachExtension, addAttachDetachExtensions, addMountUnmountExtension, addMountUnmountExtensions, createPoolableContent, getPoolableContentType, getRenderType, unmountExtensions
public static MountSpecLithoRenderUnit create(long id, Component component, ComponentContext context, NodeInfo nodeInfo, com.facebook.litho.ViewNodeInfo viewNodeInfo, int flags, int importantForAccessibility, int updateState)
protected void onStartUpdateRenderUnit()
onStartUpdateRenderUnit
in class RenderUnit<java.lang.Object>
protected void onEndUpdateRenderUnit()
onEndUpdateRenderUnit
in class RenderUnit<java.lang.Object>
public MountItemsPool.ItemPool createRecyclingPool()
PoolableContentProvider
createRecyclingPool
in interface PoolableContentProvider
createRecyclingPool
in class RenderUnit<java.lang.Object>
public java.lang.Object createContent(Context c)
createContent
in class RenderUnit<java.lang.Object>
public java.lang.String getDescription()
getDescription
in class RenderUnit<java.lang.Object>
public java.lang.Class<?> getRenderContentType()
getRenderContentType
in class RenderUnit<java.lang.Object>
public static boolean shouldUpdateMountItem(MountSpecLithoRenderUnit current, MountSpecLithoRenderUnit next, java.lang.Object currentData, java.lang.Object nextData)