public interface LoadEventsHandler
Section to notify its users of the status of the connection while
loading new items.| Modifier and Type | Method and Description |
|---|---|
void |
onInitialLoad()
Invoked when a
Section performs it's initial fetch. |
void |
onLoadFailed(boolean empty)
Invoked every time the
Section fails loading new elements. |
void |
onLoadStarted(boolean empty)
Invoked every time the
Section starts loading new elements. |
void |
onLoadSucceeded(boolean empty)
Invoked every time the
Section succeeds in loading new elements. |
void onInitialLoad()
Section performs it's initial fetch.void onLoadStarted(boolean empty)
Section starts loading new elements.empty - true on load startsvoid onLoadSucceeded(boolean empty)
Section succeeds in loading new elements.empty - true if after this fetch the dataset is empty.void onLoadFailed(boolean empty)
Section fails loading new elements.empty - true if after this failure the dataset is empty.