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

Nullpointer exception #3

Open
jeroenbeuz opened this issue Nov 9, 2017 · 0 comments
Open

Nullpointer exception #3

jeroenbeuz opened this issue Nov 9, 2017 · 0 comments

Comments

@jeroenbeuz
Copy link

First of all thanks for this great library!

Whenever I update the data in my adapter (notifyItemChagned(position)) the HueSeekBar class gives a null reference exception:

java.lang.NullPointerException: Attempt to invoke virtual method 'long android.graphics.Paint.getNativeInstance()' on a null object reference at android.graphics.Canvas.drawRect(Canvas.java)

It happens only when the data in my adapter changes. I have the HueSeekBar in a RecyclerViewAdapter. First load is working perfectly.

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

1 participant