You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@GlideExtensionpublicfinalclassGlideAppExtension {
privateGlideAppExtension() {}
@GlideOptionprivatestaticvoidcropCircle(RequestOptionsoptions) {
// TODO
}
}
Should i use in build.gradle: annotationProcessor 'com.github.bumptech.glide:compiler:4.0.0-RC0'
or compile 'com.github.bumptech.glide:compiler:4.0.0-RC0
I've tried both, and tried SNAPSHOT version
Also in the documentation example the first argument is RequestOptions<?>, but the class from the sources is not generic?
Also in the code bellow, error drawable is not used when the url is null, and docs state: "null models will cause the error drawable to be displayed", this is working in the latest 3.x version.
Glide load line / GlideModule (if any) / list Adapter code (if any):
GlideApp.with(this).load(contractImage) // contractImage is null
.transform(newCropCircleTransformation())
.error(errorDrawable)
.into(imageView);
The text was updated successfully, but these errors were encountered:
Great to hear this bug is acknowledged. In the meantime, the library still parses the manifest for a legacy (deprecated) GlideModule, so you can use that for testing purposes. Just make sure to remove the annotationProcessor dependency and @GlideModule annotations.
Glide Version: 4.0.0-RC0
Integration libraries: okhttp-integration:4.0.0-RC0
Device/Android Version: Galaxy S6 SDK version 25
Issue details / Repro steps / Use case background:
When using an annotation processor, generated class GlideRequests contains duplicate field:
My module:
Extension:
Should i use in build.gradle:
annotationProcessor 'com.github.bumptech.glide:compiler:4.0.0-RC0'
or
compile 'com.github.bumptech.glide:compiler:4.0.0-RC0
I've tried both, and tried SNAPSHOT version
Also in the documentation example the first argument is RequestOptions<?>, but the class from the sources is not generic?
Also in the code bellow, error drawable is not used when the url is null, and docs state: "null models will cause the error drawable to be displayed", this is working in the latest 3.x version.
Glide load line /
GlideModule
(if any) / list Adapter code (if any):The text was updated successfully, but these errors were encountered: