MovingImageView.java 文件源码

java
阅读 28 收藏 0 点赞 0 评论 0

项目:sophia 作者:
protected void swapImage() {
    if (this.urls != null && this.urls.size() > 0) {

        super.swapImage();
        if (activeImageView != null) {

            activeUrl++;
            if (activeUrl >= this.urls.size())
                activeUrl = 0;

            String newUrl = this.urls.get(activeUrl);
            if (newUrl != null) {


                RequestCreator rq = Picasso.with(getContext()).load(newUrl);
                if (blur)
                    rq = rq.transform(new BlurTransformation());
                rq.into(activeImageView);
            }
        }
    }

}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号