public static class LithoRenderUnit.LithoViewAttributeBinder extends Object implements RenderUnit.Binder<LithoRenderUnit,Object>
Modifier and Type | Field and Description |
---|---|
static LithoRenderUnit.LithoViewAttributeBinder |
INSTANCE |
Constructor and Description |
---|
LithoViewAttributeBinder() |
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.LithoViewAttributeBinder 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>