i'm having an issue with this project whenever i try to compile it displays the error
Error: cannot find symbol class
GlideDrawable
please take a look at app:module
and the project build
buildscript {
repositories {
mavenCentral()
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
classpath 'com.google.gms:google-services:3.1.1'
}
thanks in advance
GlideDrawable is depreciated in 4.x version so if you are moving from 3.x to 4.x simple use Drawable.
For example if you are using listener somewhere in code then move to simple this method..
.listener(new RequestListener<Drawable>() {
@Override
public boolean onLoadFailed(@Nullable GlideException e, Object model, Target<Drawable> target, boolean isFirstResource) {
progressBar.setVisibility(View.GONE);
return false;
}
@Override
public boolean onResourceReady(Drawable resource, Object model, Target<Drawable> target, DataSource dataSource, boolean isFirstResource) {
progressBar.setVisibility(View.GONE);
return false;
}
})