mirror of
https://github.com/wasabeef/glide-transformations.git
synced 2025-06-29 21:02:47 +08:00
Update Readme.md (#162)
Added RequestOptions as a prefix to bitmapTransform() function call as it is difficult for many newcomers to understand from where to get bitmapTransform() function
This commit is contained in:
parent
9d4d7990d3
commit
ec0e655f0a
@ -44,7 +44,7 @@ Set Glide Transform.
|
||||
|
||||
```kotlin
|
||||
Glide.with(this).load(R.drawable.demo)
|
||||
.apply(bitmapTransform(BlurTransformation(25, 3)))
|
||||
.apply(RequestOptions.bitmapTransform(BlurTransformation(25, 3)))
|
||||
.into(imageView)
|
||||
```
|
||||
|
||||
@ -57,7 +57,7 @@ val multi = MultiTransformation<Bitmap>(
|
||||
BlurTransformation(25),
|
||||
RoundedCornersTransformation(128, 0, CornerType.BOTTOM))))
|
||||
Glide.with(this).load(R.drawable.demo)
|
||||
.apply(bitmapTransform(multi))
|
||||
.apply(RequestOptions.bitmapTransform(multi))
|
||||
.into(imageView))
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user