We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
第一次进入没有图片,退出再进才会显示。这是什么问题啊
The text was updated successfully, but these errors were encountered:
试试glide异步加载,我这不是4.0的,你根据4.0特性找到SimpleTarget这个类重写方法即可 Glide.with(this) .load(url) .placeholder(R.drawable.loading) .into(new SimpleTarget<GlideDrawable>() { @Override public void onResourceReady(GlideDrawable resource, GlideAnimation<? super GlideDrawable> glideAnimation) { imageView.setImageDrawable(resource); } });
Glide.with(this) .load(url) .placeholder(R.drawable.loading) .into(new SimpleTarget<GlideDrawable>() { @Override public void onResourceReady(GlideDrawable resource, GlideAnimation<? super GlideDrawable> glideAnimation) { imageView.setImageDrawable(resource); } });
Sorry, something went wrong.
No branches or pull requests
第一次进入没有图片,退出再进才会显示。这是什么问题啊
The text was updated successfully, but these errors were encountered: