danylovolokh/VideoPlayerManager

Using with existing models/Lists

Opened this issue · 2 comments

Hello,

I see that in order to use the library you need to make all items extend ListItem and/or VideoItem. Is it possible to make this selective? Because not all my viewtypes are going to play videos and having them implement these interfaces would be a overhead I would like to avoid.

I could make the ViewHolder implement these interfaces, but making the model items do so is the overhead here.

What I mean here is that you treat the Models for the RV and the ViewHolder as the same thing,which is not always possible.

Any solution of this problem?

Any solution ?