1
0
mirror of https://github.com/wasabeef/glide-transformations.git synced 2025-06-09 07:54:04 +08:00

update sample

This commit is contained in:
wasabeef 2015-11-10 15:03:58 +09:00
parent e387df2daa
commit e2cf4fd7eb

View File

@ -145,7 +145,8 @@ public class MainAdapter extends RecyclerView.Adapter<MainAdapter.ViewHolder> {
case RoundedCorners:
Glide.with(mContext)
.load(R.drawable.demo)
.bitmapTransform(new RoundedCornersTransformation(mContext, 100, 0))
.bitmapTransform(new RoundedCornersTransformation(mContext, 30, 0,
RoundedCornersTransformation.CornerType.BOTTOM))
.into(holder.image);
break;
case Blur: