public static class LithoRenderUnit.LithoBindBinder extends Object implements RenderUnit.Binder<LithoRenderUnit,Object>
| Modifier and Type | Field and Description |
|---|---|
static LithoRenderUnit.LithoBindBinder |
INSTANCE |
| Constructor and Description |
|---|
LithoBindBinder() |
| 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 c,
Object n) |
void |
unbind(Context context,
Host host,
Object content,
LithoRenderUnit unit,
Object data) |
public static final LithoRenderUnit.LithoBindBinder INSTANCE
public boolean shouldUpdate(LithoRenderUnit current, LithoRenderUnit next, Object c, Object n)
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>