I have the code:
Glide.with(getActivity())
.load(myurl)
.asGif()
.into(ivGif);
and I imported glide in gradle:
repositories {
mavenCentral()
maven { url 'https://maven.google.com' }
}
dependencies {
compile 'com.github.bumptech.glide:glide:4.2.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.2.0'
}
Compiler says
cannot resolve method .asGif()
Do I miss something?