BannerLayout icon indicating copy to clipboard operation
BannerLayout copied to clipboard

怎么设置本地图片?

Open adzcsx2 opened this issue 7 years ago • 1 comments

我setView显示divide by zero

adzcsx2 avatar Jan 31 '18 05:01 adzcsx2

修改一下加载方式,改为加载 drawable 里面的图片就可以了 public class GlideImageLoaderRes implements BannerLayout.ImageLoader { @Override public void displayImage(Context context, String path, ImageView imageView) { Glide.with(context).load(Integer.parseInt(path)).centerCrop().into(imageView); } }

waerly avatar Apr 16 '18 06:04 waerly