This is a project designed to help controlling Android MediaPlayer class. It makes it easier to use MediaPlayer ListView and RecyclerView. Also it tracks the most visible item in scrolling list. When new item in the list become the most visible, this library gives an API to track it.
3.15k
stars
747
forks
source link
Null pointer scroll for recyclerview multiple view types #69
Hi,
I have 3 type of view holder for one recyclerview. One of this is use videoplayer.
No problem with using only videoplayer holder. But If I use multiple view type, it give me null pointer when I scroll.
I know why it happens. Cuz other view holders does not has videoplayer, that's why it gives this error.
So can anybody know to solution?
Hi, I have 3 type of view holder for one recyclerview. One of this is use videoplayer. No problem with using only videoplayer holder. But If I use multiple view type, it give me null pointer when I scroll. I know why it happens. Cuz other view holders does not has videoplayer, that's why it gives this error. So can anybody know to solution?