yaijungna / android-query

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

Support dynamic image url #128

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. I use aq.id(imageView).image(url, memCache, fileCache, targetWidth, 0, null, 
AQuery.FADE_IN); to load images in listView
2. Problem is my url is dynamic like 
https://www.server.com/photo/123.jpeg?Expires=1364029161&Signature=yX5mFYO68a
3. Although is same images but the url return by server are different for each 
request. this is for security purpose.

What is the expected output? What do you see instead?
All images reload after getting request from server.

What version of the product are you using? On what operating system?
0.24.3 Android 2.3+

Please provide any additional information below.
Suggestion: allow manual cache key by parameter like cacheKey eg:  
aq.id(imageView).image(url, memCache, fileCache, targetWidth, 0, null, 
AQuery.FADE_IN, cacheKey); 
so that i can cache images by using images id as cache key.
anyway, u did a good job for android community :)

Original issue reported on code.google.com by winsonta...@gmail.com on 22 Mar 2013 at 11:22