Back to project page android-slideshow-widget.
The source code is released under:
Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions...
If you think the Android project android-slideshow-widget listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.marvinlabs.widget.slideshow.picasso; //from w w w . ja va 2 s .com 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 * <p/> * Created by Vincent Mimoun-Prat @ MarvinLabs on 29/05/2014. */ public class PicassoRemoteBitmapAdapter extends GenericPicassoBitmapAdapter<String> { public PicassoRemoteBitmapAdapter(Context context, Collection<String> items) { super(context, items); } @Override protected RequestCreator createRequestCreator(Picasso picasso, String url) { return picasso.load(url).noFade().skipMemoryCache(); } }