I've read lots of other posts on this, and I've read the explanation on Bumptech. But something's still not clicking with me. I've got the following code:
if (image != null) {
            GlideApp
                    .with(this)
                    .load(imageUrl)
                    .centerCrop()
                    .transition(withCrossFade())
                    .into(eventImageView);
        }
Which returns the error above: Cannot Resolve Method 'with' in 'GlideApp'.
I followed the first answer in this question:
Glide showing error: Failed to find GeneratedAppGlideModule
...but it doesn't seem to change anything:
import com.bumptech.glide.annotation.GlideModule;
import com.bumptech.glide.module.AppGlideModule;
@GlideModule
public class GlideApp extends AppGlideModule {
}
lastly my app build.gradle:
implementation ("com.github.bumptech.glide:glide:4.11.0") {
        exclude group: "com.android.support"
    }
    annotationProcessor 'androidx.annotation:annotation:1.1.0'
    annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0'
    implementation ("com.github.bumptech.glide:glide:4.11.0@aar") {
        transitive = true
    }
Don't understand why Glide suddenly became so complicated...
 
     
     
    