FVbes FVbes - 3 months ago 160
Android Question

Downloads images from firebase storage

I am developing an app, using firebase, which reads images from firebase storage into listview using glide.
Do you know what's the best way to download images into listview items?

Answer

If you are using glide you can use it to fill ImageView in ListView. Glide has method into

e.g.

  final ImageView myImageView;

  Glide
    .with(myFragment)
    .load(url)
    .centerCrop()
    .placeholder(R.drawable.loading_spinner)
    .crossFade()
    .into(myImageView);