How can I set an image to a ImageView from a URL?
Using Firebase authentication, I get the photo URL of the signed in user:
Uri uri = firebaseUser.getProviderData().get(0).getPhotoUrl();
How can I set an image to a ImageView from a URL?
Using Firebase authentication, I get the photo URL of the signed in user:
Uri uri = firebaseUser.getProviderData().get(0).getPhotoUrl();
You can use Picasso Library to show images in ImageView. You just need to pass the url, uri or resource to Picasso with image view.
like
To use the picasso you need to add the following in Gradle
Read the documentation on http://square.github.io/picasso/
Also There are other libraries to display image in ImageView. Like Fresco, Glide, Universal Image Loader etc