use of com.volokh.danylo.video_player_manager.meta.CurrentItemMetaData in project VideoPlayerManager by danylovolokh.
the class BaseVideoItem method setActive.
/**
* When this item becomes active we start playback on the video in this item
*/
@Override
public void setActive(View newActiveView, int newActiveViewPosition) {
VideoViewHolder viewHolder = (VideoViewHolder) newActiveView.getTag();
playNewVideo(new CurrentItemMetaData(newActiveViewPosition, newActiveView), viewHolder.mPlayer, mVideoPlayerManager);
}
Aggregations