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:
Devansh Maurya authored and Daichi Furiya committed 2019-08-15 12:01:32 +09:00
1 parent 9d4d7990d3
commit ec0e655f0a
1 file changed
+2 -2
+2 -2
View File
@@ -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))
```