Skip to content

Instantly share code, notes, and snippets.

@DiegoBravoF
Created January 21, 2016 16:17
Show Gist options
  • Select an option

  • Save DiegoBravoF/0dcec955ac0085cfa0e7 to your computer and use it in GitHub Desktop.

Select an option

Save DiegoBravoF/0dcec955ac0085cfa0e7 to your computer and use it in GitHub Desktop.
Picasso Wrapper
import android.widget.ImageView;
import com.squareup.picasso.Transformation;
/**
* Created by Diego on 21/01/2016.
*/
public interface PicassoWrapper {
void loadfromUrl(String url, ImageView imageView);
void loadfromUrlwithPlaceholder(String url, ImageView imageView, int placeHolder);
void loadfromUrlwithTransformation(String url, ImageView imageView, Transformation transformation);
void loadfromUrlwithPlaceholderwithTransformation(String url, ImageView imageView, int placeHolder, Transformation transformation);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment