public interface IViewController<VM extends IViewModel> extends IView<VM>
| Modifier and Type | Method and Description |
|---|---|
void |
bindErrors(VM viewModel)
|
void |
bindLoading(VM viewModel)
|
void |
bindTitle(VM viewModel)
Binds
IViewModel.title() to the receiver title. |
void |
presentError(IViewModelException error)
Presents `error`
|
void |
presentLoading(boolean loading)
Shows or hides a view that represents loading.
|
void |
setTitle(java.lang.CharSequence title)
Sets Title of View Controller.
|
bindActive, getViewModelvoid bindTitle(VM viewModel)
IViewModel.title() to the receiver title.void setTitle(java.lang.CharSequence title)
void bindLoading(VM viewModel)
void presentLoading(boolean loading)
void bindErrors(VM viewModel)
void presentError(IViewModelException error)