public final class RecyclerToListViewScrollListener
extends android.support.v7.widget.RecyclerView.OnScrollListener
RecyclerView.OnScrollListener events to
AbsListView scroll events.
Requires that the the recycler view be using a LinearLayoutManager subclass.
| Modifier and Type | Field and Description |
|---|---|
static int |
UNKNOWN_SCROLL_STATE |
| Constructor and Description |
|---|
RecyclerToListViewScrollListener(android.widget.AbsListView.OnScrollListener scrollListener) |
| Modifier and Type | Method and Description |
|---|---|
void |
onScrolled(android.support.v7.widget.RecyclerView recyclerView,
int dx,
int dy) |
void |
onScrollStateChanged(android.support.v7.widget.RecyclerView recyclerView,
int newState) |
public static final int UNKNOWN_SCROLL_STATE
public RecyclerToListViewScrollListener(@NonNull
android.widget.AbsListView.OnScrollListener scrollListener)
public void onScrollStateChanged(android.support.v7.widget.RecyclerView recyclerView,
int newState)
onScrollStateChanged in class android.support.v7.widget.RecyclerView.OnScrollListenerpublic void onScrolled(android.support.v7.widget.RecyclerView recyclerView,
int dx,
int dy)
onScrolled in class android.support.v7.widget.RecyclerView.OnScrollListener