use of cn.jzvd.JZVideoPlayerStandard in project Qblog_Android by qiaoyhh.
the class VideoContentAdapter method convert.
@Override
protected void convert(BaseViewHolder helper, Object item) {
VideoDataBean videoDataBean = (VideoDataBean) item;
helper.setText(R.id.tv_videocontentitem_titel, videoDataBean.getTitle());
JZVideoPlayerStandard videoPlayer = helper.getView(R.id.videoplayer);
videoPlayer.setUp(videoDataBean.getUrl(), JZVideoPlayerStandard.SCREEN_WINDOW_NORMAL, videoDataBean.getTitle());
}
Aggregations