Glide.with(mContext) .load(item.getImagePath()) .apply(center) .apply((RoundedCornersTransformation));
以上方式centerCrop无效,
以下为正确显示的方式,不知道有没有更好的方式
multiLeft = new MultiTransformation<>(new CenterCrop(),new RoundedCornersTransformation(25, 0, RoundedCornersTransformation.CornerType.ALL));
Glide.with(mContext) .load(item.getImagePath()) .apply(RequestOptions.bitmapTransform(multiLeft)) .into((ImageView) helper.getView(R.id.iv_big_image));