public static class InteractionUtil.Scroller
extends RecyclerView.OnScrollListener
RecyclerView, and provides
APIs to request scroll to a certain position| Constructor and Description |
|---|
Scroller(RecyclerView recyclerView) |
| Modifier and Type | Method and Description |
|---|---|
void |
onScrolled(RecyclerView rv,
int dx,
int dy) |
void |
scrollToPositionX(int targetPositionX) |
void |
scrollToPositionY(int targetPositionY) |