All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.marvinlabs.widget.slideshow.picasso.PicassoRemoteBitmapAdapter Maven / Gradle / Ivy

The newest version!
package com.marvinlabs.widget.slideshow.picasso;

import android.content.Context;

import com.squareup.picasso.Picasso;
import com.squareup.picasso.RequestCreator;

import java.util.Collection;

/**
 * An implementation of GenericPicassoBitmapAdapter to load remote images from the Internet
 * 

* Created by Vincent Mimoun-Prat @ MarvinLabs on 29/05/2014. */ public class PicassoRemoteBitmapAdapter extends GenericPicassoBitmapAdapter { public PicassoRemoteBitmapAdapter(Context context, Collection items) { super(context, items); } @Override protected RequestCreator createRequestCreator(Picasso picasso, String url) { return picasso.load(url).noFade().skipMemoryCache(); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy