V
- the type of View.public interface ViewBinder<V extends View>
Modifier and Type | Method and Description |
---|---|
void |
bind(V view)
Binds data to the given view so it can be rendered on screen.
|
void |
prepare()
Prepares the binder to be bound to a view.
|
void |
unbind(V view)
Cleans up a view that goes off screen after it has already been bound.
|
void prepare()
Use this method to perform calculations ahead of time and save them.
void bind(V view)
view
- the view to bind.void unbind(V view)
view
- the view to unbind.