Comments (1)
Probably you already solved this, but if you are calling setRecyclerView and get a NPE is because you are not passing a valid RecyclerView. Check if you are inflating the RecyclerView correctly when calling findViewById, and if you a passing a non null RecyclerView object to setRecyclerView.
The method setOnScrollListener is deprecated because now you can register more than one ScrollListener in the RecyclerView. So you are correct, use addOnScrollListener.
from recyclerviewfastscroller.
Related Issues (20)
- doesn't work with SwipeRefreshLayout HOT 3
- Not working with view pager fragments HOT 3
- ArrayIndexOutOfBoundsException HOT 1
- java.lang.NoClassDefFoundError: Failed resolution of: Lxyz/danoz/recyclerviewfastscroller/R$styleable;
- it does not support auto hide when user stop scrolling? HOT 2
- Incorrect values for VerticalScrollBoundsProvider (?)
- Scroll direction is not natural HOT 1
- Scroll bar appears at the bottom when number of items less
- Error inflating sectionindicator HOT 1
- Stops when no search results exists
- Crash when adapter is null
- Hide ScrollBar when Items are smaller then screen size. HOT 2
- viewpager viewpageradapter use crash HOT 2
- Can not drag๏ผ
- Custom Handle drawable
- Help with usage
- Crash on recycleview HOT 2
- Change 'compile' to 'implementation' in README.md
- Recyclerview setOnScrollListener deprecated
- com.example.icallerscreenj, PID: 29583 java.lang.NullPointerException: Attempt to invoke virtual method 'androidx.recyclerview.widget.RecyclerView$LayoutManager androidx.recyclerview.widget.RecyclerView.getLayoutManager()' on a null object reference at xyz.danoz.recyclerviewfastscroller.calculation.progress.VerticalLinearLayoutManagerScrollProgressCalculator.calculateScrollProgress
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from recyclerviewfastscroller.