Search in sources :

Example 1 with MultiImageView

use of com.yiw.circledemo.widgets.MultiImageView in project CircleDemo by Naoki2015.

the class ImageViewHolder method initSubView.

@Override
public void initSubView(int viewType, ViewStub viewStub) {
    if (viewStub == null) {
        throw new IllegalArgumentException("viewStub is null...");
    }
    viewStub.setLayoutResource(R.layout.viewstub_imgbody);
    View subView = viewStub.inflate();
    MultiImageView multiImageView = (MultiImageView) subView.findViewById(R.id.multiImagView);
    if (multiImageView != null) {
        this.multiImageView = multiImageView;
    }
}
Also used : MultiImageView(com.yiw.circledemo.widgets.MultiImageView) View(android.view.View) MultiImageView(com.yiw.circledemo.widgets.MultiImageView)

Aggregations

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