public static class LithoRenderUnit.LithoMountBinder extends Object implements RenderUnit.Binder<LithoRenderUnit,Object>
Modifier and Type | Field and Description |
---|---|
static LithoRenderUnit.LithoMountBinder |
INSTANCE |
Constructor and Description |
---|
LithoMountBinder() |
Modifier and Type | Method and Description |
---|---|
void |
bind(Context context,
Host host,
Object content,
LithoRenderUnit unit,
Object data) |
boolean |
shouldUpdate(LithoRenderUnit current,
LithoRenderUnit next,
Object currentData,
Object nextData) |
void |
unbind(Context context,
Host host,
Object content,
LithoRenderUnit unit,
Object data) |
public static final LithoRenderUnit.LithoMountBinder INSTANCE
public boolean shouldUpdate(LithoRenderUnit current, LithoRenderUnit next, Object currentData, Object nextData)
shouldUpdate
in interface RenderUnit.Binder<LithoRenderUnit,Object>
public void bind(Context context, Host host, Object content, LithoRenderUnit unit, Object data)
bind
in interface RenderUnit.Binder<LithoRenderUnit,Object>
public void unbind(Context context, Host host, Object content, LithoRenderUnit unit, Object data)
unbind
in interface RenderUnit.Binder<LithoRenderUnit,Object>