public abstract class LithoRenderUnit extends RenderUnit<java.lang.Object> implements TransitionRenderUnit
RenderUnit.Binder<MODEL,CONTENT>, RenderUnit.DelegateBinder<MODEL,CONTENT>, RenderUnit.RenderType| Modifier and Type | Field and Description |
|---|---|
protected ComponentContext |
mContext |
protected long |
mId |
protected com.facebook.litho.LayoutOutput |
output |
| Modifier | Constructor and Description |
|---|---|
protected |
LithoRenderUnit(long id,
com.facebook.litho.LayoutOutput output,
RenderUnit.RenderType renderType,
ComponentContext context) |
| Modifier and Type | Method and Description |
|---|---|
ComponentContext |
getComponentContext() |
long |
getId() |
com.facebook.litho.LayoutOutput |
getLayoutOutput() |
boolean |
getMatchHostBounds() |
static boolean |
isMountableView(RenderUnit unit) |
addAttachBinder, addAttachBinders, addMountBinder, addMountBinders, attachBinders, detachBinders, doesMountRenderTreeHosts, getAttachBinders, getAttachBinderTypeToDelegateMap, getContentAllocator, getDescription, getMountBinders, getMountBinderTypeToDelegateMap, getRenderContentType, getRenderType, mountBinders, onEndUpdateRenderUnit, onStartUpdateRenderUnit, unmountBindersprotected final long mId
protected final com.facebook.litho.LayoutOutput output
protected final ComponentContext mContext
protected LithoRenderUnit(long id,
com.facebook.litho.LayoutOutput output,
RenderUnit.RenderType renderType,
ComponentContext context)
public com.facebook.litho.LayoutOutput getLayoutOutput()
public ComponentContext getComponentContext()
public long getId()
getId in class RenderUnit<java.lang.Object>public boolean getMatchHostBounds()
getMatchHostBounds in interface TransitionRenderUnitpublic static boolean isMountableView(RenderUnit unit)