Created
January 21, 2016 16:17
-
-
Save DiegoBravoF/0dcec955ac0085cfa0e7 to your computer and use it in GitHub Desktop.
Picasso Wrapper
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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