android picasso code example

Example 1: picasso android

implementation 'com.squareup.picasso:picasso:2.71828'

Example 2: picasso android studio

Picasso.get().load("http://i.imgur.com/DvpvklR.png").into(imageView);

Example 3: picasso android

//dependency
implementation 'com.squareup.picasso:picasso:2.71828'
//code to use
Picasso.get().load("http://i.imgur.com/DvpvklR.png").into(imageView);

Example 4: picasso cotlin

// how to add image from web with Piacsso as is
Picasso.get().load("http://i.imgur.com/DvpvklR.png").into(imageView);
// add more settings to image size 
Picasso.get().resize(50, 50).centerCrop().load("http://i.imgur.com/DvpvklR.png").into(imageView);

Example 5: picasso android latest version

Latest Version is 2.71828 for more check here https://github.com/square/picasso/releases

Tags: