RockySteveJobs / android-query

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

How can I get an image inside a drawable or bitmap from web using Aquery. #133

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Basically I have an array of image url's those I use to get images from.

private String[] mBitmapStrings={"http://server/image1.png",
                     "http://server/image2.png"};

then I get a Drawable object and set the image to this,

Drawable d = new BitmapDrawable(mBitmapStrings[index]);

I am somewhere bound to use `id` as I am using a custom view. How can I use 
android query in this case.

Original issue reported on code.google.com by pku...@digiraatis.com on 3 May 2013 at 7:18