mirror of
https://github.com/wasabeef/glide-transformations.git
synced 2025-06-10 00:24:36 +08:00
Update Readme
This commit is contained in:
parent
c1f1091364
commit
4b2d62f979
@ -45,8 +45,8 @@ You can set an multiple transformations.
|
|||||||
|
|
||||||
```java
|
```java
|
||||||
BitmapPool pool = Glide.get(this).getBitmapPool();
|
BitmapPool pool = Glide.get(this).getBitmapPool();
|
||||||
Glide.with(this).load(R.drawable.demo)
|
Glide.with(this).load(R.drawable.demo).bitmapTransform(
|
||||||
.bitmapTransform(new BlurTransformation(this, pool, 5), new CropCircleTransformation(pool))
|
new BlurTransformation(this, pool, 5), new CropCircleTransformation(pool))
|
||||||
.into((ImageView) findViewById(R.id.image));
|
.into((ImageView) findViewById(R.id.image));
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user