-5

I just want to know how to display the image from an URL by using a bitmap and an AsyncTask in a Fragment - not in an Activity.

1 Answers1

0

Use the Piccaso for load image more faster

Picasso.with(context)
.load(image url here)
.resize(50, 50)
.centerCrop()
.into(imageView)

refer this link

hope this helps.

Pratik Gondil
  • 689
  • 1
  • 6
  • 17