public interface Refresher extends RefreshController
If using in multiple threads, the implementations should be thread safe.
| Modifier and Type | Method and Description |
|---|---|
void |
refresh()
Start a refreshing.
|
void |
refreshComplete()
Refreshing complete, which will reset the header behavior's refreshing state.
|
void |
refreshError(java.lang.Throwable throwable)
The same as
refreshComplete(), in addition it can report exceptions to the
refreshing listeners. |
void refresh()
void refreshComplete()
void refreshError(java.lang.Throwable throwable)
refreshComplete(), in addition it can report exceptions to the
refreshing listeners.throwable - OnRefreshListener}