Search in sources :

Example 1 with CircleVideoView

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;
    }
}
Also used : CircleVideoView(com.yiw.circledemo.widgets.CircleVideoView) CircleVideoView(com.yiw.circledemo.widgets.CircleVideoView) View(android.view.View)

Aggregations

View (android.view.View)1 CircleVideoView (com.yiw.circledemo.widgets.CircleVideoView)1