How to set ImageView image from URL in Android studio

How to load image from URL in ImageView in Android | How to set ImageView image from URL in Android studio


How to load image from URL in ImageView in Android 

How to set ImageView image from URL in Android studio

 

Code Example: 

 implementation 'com.squareup.picasso:picasso:2.5.2'


img = ((ImageView) findViewById(R.id.CastomADLogo));
final String imgURL = "https://winapp.exchange4u.xyz/site_logo/O5TDFavicon-download.png";
Picasso.with(this).load(imgURL).into(img);


Video Example:  https://codinginflow.com/tutorials/android/picasso/part-1-image-loading

HOME