Closed ycqchang closed 5 years ago
Sure. Use a library like Piccaso or Glide.
Usage example using Glide:
Glide.with(this)
.asBitmap()
.load(IMAGE_URL)
.into(new SimpleTarget<Bitmap>() {
@Override
public void onResourceReady(Bitmap resource, Transition<? super Bitmap> transition) {
Drawable drawable = new BitmapDrawable(getResources(), resource);
new MaterialStyledDialog.Builder(this)
.setTitle("Awesome!")
.setDescription("What can we improve? Your feedback is always welcome.")
.setHeaderDrawable(drawable)
.show();
}
});
Thank you very much, it is very good.
Can you display network pictures?