¡@

Home 

2014/10/16 ¤W¤È 08:15:12

android Programming Glossary: imageloadtask

Stop AsyncTask doInBackground method

http://stackoverflow.com/questions/16538714/stop-asynctask-doinbackground-method

thumbImage private CarListAdapter carAdapter private ImageLoadTask task new ImageLoadTask public CarDetail super TODO Auto generated.. CarListAdapter carAdapter private ImageLoadTask task new ImageLoadTask public CarDetail super TODO Auto generated constructor stub.. carAdapter if thumbUrl null thumbUrl.equals new ImageLoadTask .execute thumbUrl task.execute thumbUrl ASYNC TASK TO AVOID..

Stop AsyncTask doInBackground method

http://stackoverflow.com/questions/16538714/stop-asynctask-doinbackground-method

private String description private Bitmap image private Bitmap thumbImage private CarListAdapter carAdapter private ImageLoadTask task new ImageLoadTask public CarDetail super TODO Auto generated constructor stub public CarDetail String carId String.. private Bitmap image private Bitmap thumbImage private CarListAdapter carAdapter private ImageLoadTask task new ImageLoadTask public CarDetail super TODO Auto generated constructor stub public CarDetail String carId String carName String imageUrl.. carAdapter HOLD A REFERENCE TO THE ADAPTER this.carAdapter carAdapter if thumbUrl null thumbUrl.equals new ImageLoadTask .execute thumbUrl task.execute thumbUrl ASYNC TASK TO AVOID CHOKING UP UI THREAD private class ImageLoadTask extends AsyncTask..