From ec0e655f0a63dd61e7b57dd53d75a23744c47fe9 Mon Sep 17 00:00:00 2001 From: Devansh Maurya Date: Thu, 15 Aug 2019 00:01:32 -0300 Subject: [PATCH] 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 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 73ce6bd..890cde4 100644 --- a/README.md +++ b/README.md @@ -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( BlurTransformation(25), RoundedCornersTransformation(128, 0, CornerType.BOTTOM)))) Glide.with(this).load(R.drawable.demo) - .apply(bitmapTransform(multi)) + .apply(RequestOptions.bitmapTransform(multi)) .into(imageView)) ```