mirror of
https://github.com/wasabeef/glide-transformations.git
synced 2025-10-05 02:13:22 +08:00
Optimize the code
1. Not to create the mask bitmap. 2. Adjust MaskTransformation’s getId()’s return.
This commit is contained in:
@@ -191,7 +191,6 @@ public class MainAdapter extends RecyclerView.Adapter<MainAdapter.ViewHolder> {
|
||||
.bitmapTransform(
|
||||
new SwirlFilterTransformation(mContext, 0.5f, 1.0f, new PointF(0.5f, 0.5f)))
|
||||
.into(holder.image);
|
||||
|
||||
break;
|
||||
case Brightness:
|
||||
Glide.with(mContext)
|
||||
|
Reference in New Issue
Block a user