suxinmin / android-query

Automatically exported from code.google.com/p/android-query
0 stars 0 forks source link

Allow optional image sizes for cached images #174

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Load image via aquery with optimal size arguments (targetWidth)
2. Load image from cache
3.

What is the expected output? What do you see instead?

Expected: Scaled image, Actual: Full-sized image

What version of the product are you using? On what operating system?

Version: android-query-0.26.7.jar

Please provide any additional information below.

Using android-query in an app, such as mine (juggling around 200+, 2MB images), 
android-query completely obliterates my app memory budget. This triggers my 
application memory callback, at which point i evict all cached images. As a 
result, my app is always losing it's images, causing it to constantly reload. 
Users on cellular data don't really appreciate this.

Hopefully, this will be considered for future improvement

Original issue reported on code.google.com by vic.c...@gmail.com on 11 Feb 2014 at 3:32