Open GoogleCodeExporter opened 8 years ago
Are you sure it's loading from server? If an image is too big it skips the
memory and use file cache.
To allow bigger image to be cached in memory, use the setPixelLimit function:
http://code.google.com/p/android-query/wiki/ImageLoading#Configuration
Original comment by tinyeeliu@gmail.com
on 19 Oct 2012 at 11:58
AFAIK, aquery DOES use the cached files first, but it doesn't check if same
image already was loaded into given image view. Which, in turn, causes
flickering when aquery is used in listadapter binder.
In our application we use this trick to avoid flicker -
if (imageObject.getTag(AQuery.TAG_URL) == null ||
!(imageObject.getTag(AQuery.TAG_URL).equals(imageUrl))) {
AQuery aQuery = new AQuery(imageObject);
aQuery.image(imageUrl, true, true, imageObject.getWidth(), 0, null, R.anim.fade_in);
}
we check imageview tag and fade in loaded images. looks great.
Original comment by eugene.k...@gmail.com
on 2 Jul 2014 at 7:13
Original issue reported on code.google.com by
lifeCode...@gmail.com
on 9 Oct 2012 at 9:53