public class ViewBinder<T,V extends android.view.View>
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
ViewBinder(T resolver) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
bindAnimation(int deviceWidth,
int deviceHeight,
V view) |
protected void |
bindClick(T resolver,
V promptsView) |
protected void |
bindLongPress(T resolver,
V promptsView) |
protected void |
bindView(V promptsView,
int position) |
protected void |
bindViewPosition(T resolver,
int position) |
protected void |
bindViews(T resolver,
V promptsView) |
protected int |
getLayoutId() |
protected int |
getPosition() |
protected T |
getResolver() |
protected void |
recycleView() |
protected void |
resolveView(T resolver) |
protected void |
unbind()
Remove all the references in the original class
|
protected ViewBinder(T resolver)
resolver - protected void bindView(V promptsView, int position)
promptsView - position - protected void bindAnimation(int deviceWidth,
int deviceHeight,
V view)
deviceWidth - deviceHeight - view - protected void bindViewPosition(T resolver, int position)
resolver - position - protected void resolveView(T resolver)
resolver - protected void bindLongPress(T resolver, V promptsView)
resolver - promptsView - protected void unbind()
protected int getLayoutId()
protected T getResolver()
protected int getPosition()
protected void recycleView()