Closed GoogleCodeExporter closed 9 years ago
Original comment by tinyeeliu@gmail.com
on 15 Jul 2012 at 6:25
0.25.4-beta is released with beta auto rotate feature:
http://code.google.com/p/android-query/downloads/list
By default it is turned off, to use rotate you will need to use
BitmapAjaxCallback.
Please let me know if it's working properly on your app. :)
Sample code:
public void image_auto_rotate(){
String imageUrl = "http://res.dbkon.co.kr/resource/201302091360376386575001.jpg";
BitmapAjaxCallback cb = new BitmapAjaxCallback();
//target width is necessary, the rotation will recreate the bitmap which can cause OOM issue if image is too large
cb.url(imageUrl).targetWidth(300).rotate(true);
aq.id(R.id.image).image(cb);
}
Original comment by tinyeeliu@gmail.com
on 20 Feb 2013 at 6:29
Original issue reported on code.google.com by
imbeyond...@gmail.com
on 13 Jul 2012 at 1:49