Circlecrop directly without RequestOptions
This commit is contained in:
parent
1ea4371b3e
commit
eb65e24099
|
@ -211,7 +211,7 @@ class MainActivity : BaseActivity() {
|
||||||
Glide.with(this@MainActivity)
|
Glide.with(this@MainActivity)
|
||||||
.load(uri)
|
.load(uri)
|
||||||
.placeholder(placeholder)
|
.placeholder(placeholder)
|
||||||
.apply(RequestOptions.circleCropTransform())
|
.circleCrop()
|
||||||
.into(imageView)
|
.into(imageView)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue