public class MaskTransformation
extends java.lang.Object
implements com.squareup.picasso.Transformation
| Constructor and Description |
|---|
MaskTransformation(android.content.Context context,
int maskId) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
key() |
android.graphics.Bitmap |
transform(android.graphics.Bitmap source) |
public MaskTransformation(android.content.Context context,
int maskId)
maskId - If you change the mask file, please also rename the mask file, or Glide will get
the cache with the old mask. Because getId() return the same values if using the
same make file name. If you have a good idea please tell us, thanks.