diff --git a/README.md b/README.md index 1bdce50..09bded4 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ The best way to check everything out is to peruse the example code and run the s fastScroller.setRecyclerView(recyclerView); // Connect the scroller to the recycler (to let the recycler scroll the scroller's handle) - recyclerView.setOnScrollListener(fastScroller.getOnScrollListener()); + recyclerView.addOnScrollListener(fastScroller.getOnScrollListener()); ... return rootView;