Closed chirpphixel closed 4 years ago
This library is for adding a FastScroller to the side of the RecyclerView. What you're asking about is how to use a RecyclerView in general. You'd probably be better off asking this over at StackOverflow.
It looks like you're calling setImageResource
somewhere, on a null
ImageView
.
Currently the sample project only shows duplicating the same jigsaw puzzle icon. How do I change the Images for each item dynamically?
I tried adding a ImageView variable under Adapter like this
and then set ImageDrawable
I ran into this error: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.ImageView.setImageResource(int)' on a null object reference