public class LithoRenderUnit extends RenderUnit<Object> implements TransitionRenderUnit
RenderUnit
encapsulates a Litho output to be mounted using Render Core.Modifier and Type | Class and Description |
---|---|
static class |
LithoRenderUnit.LithoBindBinder |
static class |
LithoRenderUnit.LithoMountBinder |
static class |
LithoRenderUnit.LithoViewAttributeBinder |
RenderUnit.Binder<MODEL,CONTENT>, RenderUnit.Extension<MODEL,CONTENT>, RenderUnit.RenderType
Constructor and Description |
---|
LithoRenderUnit(com.facebook.litho.LayoutOutput output) |
Modifier and Type | Method and Description |
---|---|
Object |
createContent(Context c) |
int |
getDefaultViewAttributeFLags() |
long |
getId() |
boolean |
getMatchHostBounds() |
Object |
getRenderContentType() |
addAttachDetachExtension, addAttachDetachExtensions, addMountUnmountExtension, addMountUnmountExtensions, getDescription, getRenderType, makeCopy, unmountExtensions
public Object createContent(Context c)
createContent
in class RenderUnit<Object>
public long getId()
getId
in class RenderUnit<Object>
public Object getRenderContentType()
getRenderContentType
in class RenderUnit<Object>
public int getDefaultViewAttributeFLags()
public boolean getMatchHostBounds()
getMatchHostBounds
in interface TransitionRenderUnit