Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Viewprovider Error #24

Closed
mohaaosman opened this issue Aug 22, 2016 · 6 comments
Closed

Viewprovider Error #24

mohaaosman opened this issue Aug 22, 2016 · 6 comments

Comments

@mohaaosman
Copy link

in the FastScoller class i keep getting this error

viewProvider.setFastScroller(this);

it says "Setfastscroller in ScrollerviewProvider can not be applied to Fastscroller"

@micHar
Copy link
Contributor

micHar commented Aug 24, 2016

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.

@micHar micHar closed this as completed Aug 24, 2016
@mohaaosman
Copy link
Author

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?

@micHar micHar reopened this Aug 25, 2016
@micHar
Copy link
Contributor

micHar commented Aug 25, 2016

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.

@micHar
Copy link
Contributor

micHar commented Aug 31, 2016

This is not an issue in the library. I can try to help you with your code, but I mark this issue closed.

@micHar micHar closed this as completed Aug 31, 2016
@mohaaosman
Copy link
Author

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

@micHar
Copy link
Contributor

micHar commented Aug 31, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants