Fresco加载原型图片

GenericDraweeHierarchy build = GenericDraweeHierarchyBuilder.newInstance(context.getResources())
        .setRoundingParams(RoundingParams.asCircle()).build();
vh.simple_img.setHierarchy(build);
AbstractDraweeController build1 = Fresco.newDraweeControllerBuilder()
        .setUri(newslist.get(position).getPicUrl())
        .setTapToRetryEnabled(true).build();
vh.simple_img.setController(build1);
阅读更多
想对作者说点什么?

博主推荐

换一批

没有更多推荐了,返回首页