1
0
mirror of https://github.com/wasabeef/glide-transformations.git synced 2025-06-09 16:14:09 +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: case RoundedCorners:
Glide.with(mContext) Glide.with(mContext)
.load(R.drawable.demo) .load(R.drawable.demo)
.bitmapTransform(new RoundedCornersTransformation(mContext, 100, 0)) .bitmapTransform(new RoundedCornersTransformation(mContext, 30, 0,
RoundedCornersTransformation.CornerType.BOTTOM))
.into(holder.image); .into(holder.image);
break; break;
case Blur: case Blur: