public class RecyclerCollectionEventsController extends RecyclerEventsController
Prop
to a
RecyclerCollection component to trigger events from outside the component hierarchy.Constructor and Description |
---|
RecyclerCollectionEventsController() |
Modifier and Type | Method and Description |
---|---|
void |
requestNewRootSection(Section section)
Update the section tree with a new root.
|
void |
requestRefresh()
Sent the RecyclerCollection a request to refresh it's backing data.
|
void |
requestRefresh(boolean showSpinner)
Sent the RecyclerCollection a request to refresh it's backing data.
|
void |
requestScrollToNextPosition(boolean animated)
Send the Recycler a request to scroll the content to the next item in the binder.
|
void |
requestScrollToPreviousPosition(boolean animated) |
clearRefreshing, getRecyclerView, requestScrollToPosition, requestScrollToTop, showRefreshing
public void requestRefresh()
public void requestRefresh(boolean showSpinner)
showSpinner
- public void requestNewRootSection(Section section)
public void requestScrollToNextPosition(boolean animated)
animated
- if animated is set to true the scroll will happen with an animation.public void requestScrollToPreviousPosition(boolean animated)