Last active
November 5, 2015 15:41
-
-
Save moizest89/4ebfaba57c94eb6cc0de to your computer and use it in GitHub Desktop.
This file contains 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
private AQuery aq; | |
private Bitmap preset; | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
this.aq= new AQuery(this.context); | |
this.preset= aq.getCachedImage(R.drawable.placeholder_slider); //Holder para que cargen las imagenes | |
} | |
private void setImage(){ | |
aq.id(TIVImage).image(mModel.getDetailUrl(), true, true, 0, R.drawable.placeholder_slider, preset, 0, 4.0f/3.0f); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment