public static final class MultiSelectManager.GridModel extends RecyclerView.OnScrollListener
Modifier and Type | Field and Description |
---|---|
static int |
NOT_SET |
Modifier and Type | Method and Description |
---|---|
void |
onScrolled(RecyclerView recyclerView,
int dx,
int dy)
Callback method to be invoked when the RecyclerView has been scrolled.
|
onScrollStateChanged
public static final int NOT_SET
public void onScrolled(RecyclerView recyclerView, int dx, int dy)
RecyclerView.OnScrollListener
This callback will also be called if visible item range changes after a layout calculation. In that case, dx and dy will be 0.
onScrolled
in class RecyclerView.OnScrollListener
recyclerView
- The RecyclerView which scrolled.dx
- The amount of horizontal scroll.dy
- The amount of vertical scroll.