sauravtom / android-query

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

Can i cache image without imageview id ? #149

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
hi all, can i cache image but i don't load it to imageview ?

Original issue reported on code.google.com by anhq...@gmail.com on 29 Jul 2013 at 10:28

GoogleCodeExporter commented 8 years ago
public class CacheImage extends AsyncTask<Void, Void, Void> {

        @Override
        protected Void doInBackground(Void... params) {
            //ImageView imgCache = new ImageView(getContext());
            for (String url : urls) {
                aq.id(1).image(url, true, true, 0, 0, null, AQuery.FADE_IN_NETWORK, AQuery.RATIO_PRESERVE);
                Log.v("dddddddddddddddd", "yyyyyyyyyyyyyy");
            }
            return null;
        }

    }
my asyntask class but it not working

Original comment by anhq...@gmail.com on 29 Jul 2013 at 10:31