Open Himanshu-381 opened 1 year ago
== Here My Code: loadImage( data = imageUrl, requestBuilder = Glide.with(context) .asDrawable() .override(120, 120) .circleCrop() .dontAnimate() .listener(object : RequestListener { override fun onLoadFailed( e: GlideException?, model: Any?, target: com.bumptech.glide.request.target.Target?, isFirstResource: Boolean ): Boolean { return false } override fun onResourceReady( resource: Drawable?, model: Any?, target: com.bumptech.glide.request.target.Target?, dataSource: DataSource?, isFirstResource: Boolean ): Boolean { // Image loaded successfully return false } })
== Dependency //Image Avatar View implementation "io.getstream:avatarview-coil:1.0.7" implementation "io.getstream:avatarview-glide:1.0.7" implementation("com.github.Commit451.coil-transformations:transformations:2.0.2") implementation("io.coil-kt:coil:2.2.2")
Please check this one issue and let me know if it is fix
== Here My Code: loadImage( data = imageUrl, requestBuilder = Glide.with(context) .asDrawable() .override(120, 120) .circleCrop() .dontAnimate() .listener(object : RequestListener {
override fun onLoadFailed(
e: GlideException?,
model: Any?,
target: com.bumptech.glide.request.target.Target?,
isFirstResource: Boolean
): Boolean {
return false
}
override fun onResourceReady(
resource: Drawable?,
model: Any?,
target: com.bumptech.glide.request.target.Target?,
dataSource: DataSource?,
isFirstResource: Boolean
): Boolean {
// Image loaded successfully
return false
}
})
== Dependency //Image Avatar View implementation "io.getstream:avatarview-coil:1.0.7" implementation "io.getstream:avatarview-glide:1.0.7" implementation("com.github.Commit451.coil-transformations:transformations:2.0.2") implementation("io.coil-kt:coil:2.2.2")
Please check this one issue and let me know if it is fix