“ GliderDrawable”在android studio中变成红色

时间:2019-07-30 11:42:24

标签: android android-studio android-drawable android-resources android-glide

我正在尝试构建购物应用程序。片段中面临的问题。错误是Cannot resolve symbol GlideDrawable

使用android studio 3.3

Glide.with(home)
                .load(sharedPref.getValue_string("image"))
                .listener(new RequestListener<String, GlideDrawable>() {
                @Override
                public boolean onException(Exception e, String model, Target<GlideDrawable> target, boolean isFirstResource)
               {
                 progrss_bar.setVisibility(View.GONE);
                    return false;
                }

                @Override
                public boolean onResourceReady(GlideDrawable resource, String model, Target<GlideDrawable> target, boolean isFromMemoryCache, boolean isFirstResource) {

                    progrss_bar.setVisibility(View.GONE);
                    return false;
                }
            })

有人可以帮我吗?

0 个答案:

没有答案