when to update this library to apply glide v4 ?
Closed this issue ยท 12 comments
very expected...
Workaround: Subclass all required transformations
/**
* To have Glide 4 compatibility
* See: https://github.com/wasabeef/glide-transformations/issues/73
*/
class BlurTransformation(context: Context?, radius: Int)
: jp.wasabeef.glide.transformations.BlurTransformation(context, radius) {
override fun transform(context: Context?,
resource: Resource<Bitmap>?,
outWidth: Int,
outHeight: Int): Resource<Bitmap> = transform(resource, outWidth, outHeight)
override fun updateDiskCacheKey(md: MessageDigest) {
md.update("blur".toByteArray())
}
}
Just now, I'm preparing that. So I'll release the new version for 4.0.0 next week.
@wasabeef very good !!!
@wasabeef nice~ @yanxinmiao @iielse @vpratfr now i implement with RoundedImageView...
+1
@wasabeef "next week" you said 11days ago is gone ,
why did not see you commit anything
You should be happy that @wasabeef is willing to update the library, this developer has no obligations to any of us and still updates the library so that we can keep using it. There are probably other things that require attention and are more important. We should have respect for that and just wait :). In the meantime we can try to use the workaround above or we could create our own solutions for the time being. That might a bit harder than just using this library, but that shouldn't stop you. See it as a chance to learn something new!
@yanxinmiao @iielse @vpratfr @wangshaolei @beartistic @songjipo @AndSync @se-bastiaan
You guys, I just released glide-transformations 3.0.0. So could you check that?
OK ๏ผ thanks