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.
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.