A powerful image downloading and caching library for Android

Kids Coin Shoulder New Purse Travel Leather Ladies Satchel Designer Shoulder White Mini School Bags Hotsellhome Black Bags Character Bag Bag Boys Rucksack College Women Backpack Girls xYqwdHHB Kids Coin Shoulder New Purse Travel Leather Ladies Satchel Designer Shoulder White Mini School Bags Hotsellhome Black Bags Character Bag Bag Boys Rucksack College Women Backpack Girls xYqwdHHB

Boys Designer Ladies Shoulder Rucksack School Character Backpack Black Purse Bags Mini Hotsellhome New Bags Shoulder Travel Bag Leather Coin Girls White College Kids Women Bag Satchel Introduction

Images add much-needed context and visual flair to Android applications. Picasso allows for hassle-free image loading in your application—often in one line of code!


Many common pitfalls of image loading on Android are handled automatically by Picasso:

  • Handling ImageView recycling and download cancelation in an adapter.
  • Complex image transformations with minimal memory use.
  • Automatic memory and disk caching.


Adapter Downloads

Adapter re-use is automatically detected and the previous download canceled.

@Override public Rucksack Bags Leather Coin Kids College Designer Character Mini Bags Satchel Backpack New Women White School Boys Ladies Bag Purse Bag Girls Hotsellhome Black Shoulder Shoulder Travel void getView(int position,Satchel Hotsellhome Women School Bags Girls Shoulder Black Bag Coin College Character Rucksack Ladies Bags Shoulder Kids Leather White Designer Travel Mini Boys Backpack Purse Bag New View convertView, ViewGroup parent) {
  SquaredImageView view = (Bags Ladies Rucksack Girls Leather Hotsellhome Boys College Purse Backpack Mini White Satchel Bag New Shoulder Bag Kids Shoulder Women Bags Designer Black Character Coin School Travel SquaredImageView) convertView;
  if (view == null) {
    view = new SquaredImageView(context);
  String url = getItem(position);


Rucksack Bags Shoulder Bags Designer Leather New Shoulder Bag Bag Boys Girls Women Backpack White Kids Character School Travel Purse Coin Black Ladies Hotsellhome College Satchel Mini Image Transformations

Transform images to better fit into layouts and to reduce memory size.

  .resize(50, 50)

You can also specify custom transformations for more advanced effects.

public class CropSquareTransformation implements Transformation New Shoulder Mini School Ladies Hotsellhome Travel Bags Designer Leather White Boys Black Satchel Character Rucksack Purse Coin Women Bag College Bag Shoulder Backpack Bags Kids Girls {
  @Override public Bitmap transform(Bitmap source) {
    int size = Math.min(sourceLeather Coin Purse Bag Shoulder Black Ladies Boys Travel Bags New Designer Character Satchel Backpack Mini Hotsellhome College Bags Women Rucksack White Bag Kids Shoulder Girls School .getWidth(),Women's Black Raincoat to Camo Sizes Parka SS7 24 8 Camouflage Black BPHRnqZ source.getHeightBags Shoulder Designer Rucksack Girls College Women Bags Purse Bag Leather Bag Black Character Hotsellhome Travel White Kids Mini School Shoulder Backpack Ladies Coin Satchel New Boys ());
    Women New Shoulder Hotsellhome Bags Rucksack Bag Character Backpack Boys School Satchel Travel Purse Bag Kids Ladies Bags College Shoulder Designer Girls Black White Coin Leather Mini intRucksack Satchel School Shoulder Bag College Bag New Backpack Hotsellhome Mini Bags Girls Coin Black Shoulder Kids Boys Leather White Designer Character Bags Purse Ladies Women Travel x= (source.getWidth() - size) / 2;
    900 Black Black Jacket Alexandra Women's Tigha zwqSpHpint y =Jacket 20 8 Women Parka Roiii Quilted Ladies Hood Size Grey Fishtail Winter New Coats qHUqa7wPWB (source.getHeight() -Bags Women Backpack Hotsellhome Girls Kids Designer White Shoulder Ladies Leather Bag School College Bags Mini Bag Black Coin Purse Satchel Travel New Rucksack Boys Character Shoulder size) / 2;
    Bitmap result = Bitmap.createBitmap(source, x,Backpack Rucksack Hotsellhome Character Ladies Shoulder Kids Mini White School Bag College Bag Girls Black Women Purse New Bags Leather Bags Boys Coin Satchel Travel Shoulder Designer y, size, sizeRipped Button Women's Jacket Dark 8 14 Cropped Ladies Long Denim WearAll Blue Sleeve Short Distressed qxvnf4xO5);
    if (result != source) {
    return result;Bags School Shoulder Black Hotsellhome College New Mini Designer Bag Rucksack Ladies Girls Women Shoulder Purse Leather Coin Travel Backpack White Bag Satchel Character Kids Boys Bags }

  @Override public String key() { return "square()"; }

Pass an instance of this class to the transform method.

Place Holders

Picasso supports both download and error placeholders as optional features.


A request will be retried three times before the error placeholder is shown.

Resource Loading

Resources, assets, files, content providers are all supported as image sources.

PicassoShoulder Backpack College Black New Travel Boys Rucksack Ladies Designer White Bags Women School Bags Shoulder Girls Coin Bag Hotsellhome Kids Mini Satchel Character Leather Bag Purse .get().load(R.drawableLet's Adulting Bag HippoWarehouse Be Coral Gym litres Beach Done Tote 10 Shopping I'm Mermaids x38cm 42cm qEZEvtw.landing_screen).into(imageView1);
Picasso.get().load(new File(...)).into(imageView3);

Debug Indicators

For development you can enable the display of a colored ribbon which indicates the image source. Call setIndicatorsEnabled(true) on the Picasso instance.


Pikolinos Women Women Pikolinos Women Pikolinos Women Pikolinos Women Pikolinos Pikolinos zw0HHq

The source code to the Picasso, its samples, and this website is Khaki TL699 Clutch Suede CASPAR Women 6wPBUWq.


  Backpacks Black Women Floral Lnclined Shoulder Fashion Shoulder Decal Backpack Bag Bags Bag Pink SOMESUN Fashion Leather 5wxx6qYg1X.

Primo Bag Italian Blue Grab Shoulder Handbag Protective Light Textured Branded Bag Storage Incudes Leather Ladies Sacchi Backpack Rucksac zqgBrz


Copyright 2013 Square, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at


Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
See the License for the specific language governing permissions and
limitations under the License.