public class BaseLoadEventsHandler extends java.lang.Object implements LoadEventsHandler
LoadEventsHandler
Constructor and Description |
---|
BaseLoadEventsHandler() |
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. |
public void onInitialLoad()
LoadEventsHandler
Section
performs it's initial fetch.onInitialLoad
in interface LoadEventsHandler
public void onLoadStarted(boolean empty)
LoadEventsHandler
Section
starts loading new elements.onLoadStarted
in interface LoadEventsHandler
empty
- true on load startspublic void onLoadSucceeded(boolean empty)
LoadEventsHandler
Section
succeeds in loading new elements.onLoadSucceeded
in interface LoadEventsHandler
empty
- true if after this fetch the dataset is empty.public void onLoadFailed(boolean empty)
LoadEventsHandler
Section
fails loading new elements.onLoadFailed
in interface LoadEventsHandler
empty
- true if after this failure the dataset is empty.