Comments (6)
Generally - this is a compiler error which tells you, that you're trying to apply a method setFastScroller
to an instance which doesn't have this method.
Specifically - you're trying to apply a method which doesn't even exist in the whole library to an instance of ViewProvider
(which should only be used when you're trying to provide your own view for bubble and handle).
Please tell me what you are trying to do so that I can maybe help you. If you just want to run this widget in its simplest form, refer to README or consult example code, please.
from recycler-fast-scroll.
Am trying to use it in a recyclerview populated with sqlite data and am not using any custom bubble or handle i simply copied your code and directly dropped it in my project.
is there any classes i should leave or add?
from recycler-fast-scroll.
You should not have to call viewProvider.setFastScroller(this);
manually. Do you have it in your code? What code did you copy? You should probably see the example code.
from recycler-fast-scroll.
This is not an issue in the library. I can try to help you with your code, but I mark this issue closed.
from recycler-fast-scroll.
am not calling it in anywhere, the classes that i copied to my project the demo are showing that error.
sorry i know you closed it but i dont know how to fix it otherwise
from recycler-fast-scroll.
You don't have to copy these classes. Just use gradle to import the lib into your project and use it. Everything is in the readme file.
from recycler-fast-scroll.
Related Issues (20)
- Exception when grab/release animator not provided from CustomScrollerViewProvider from example
- Scroll handle jumping on touch HOT 1
- Feature Request: Animator to show/hide handle by translating x
- Force closed if my custom ViewGroup called onLayout directly
- ScrollStateListener not work with fastscroller
- When targeting API 26 (Android O) logcat is full of warnings. HOT 3
- How to Use with FirebaseRecyclerAdapter HOT 1
- What about Proguard ?
- Please add null check for recyclerview in FastScroller.java HOT 2
- RecyclerView inside SwipeRefreshLayout HOT 3
- Toggling Orientation
- All sections viewer HOT 1
- AndroidX support HOT 4
- Flicker bug
- Reverse layout
- very lagging Scroll
- How to set the text color of the bubble? HOT 1
- Set correct scroller shape depending on orientation
- nullPointerException
- java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.android.splitproject/com.example.android.splitproject.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void androidx.viewpager2.widget.ViewPager2.setAdapter(androidx.recyclerview.widget.RecyclerView$Adapter)' on a null object reference
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 recycler-fast-scroll.