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