use of com.yiw.circledemo.widgets.CircleVideoView in project CircleDemo by Naoki2015.
the class VideoViewHolder method initSubView.
@Override
public void initSubView(int viewType, ViewStub viewStub) {
if (viewStub == null) {
throw new IllegalArgumentException("viewStub is null...");
}
viewStub.setLayoutResource(R.layout.viewstub_videobody);
View subView = viewStub.inflate();
CircleVideoView videoBody = (CircleVideoView) subView.findViewById(R.id.videoView);
if (videoBody != null) {
this.videoView = videoBody;
}
}
Aggregations