public class DownloadImageTask
extends <any>
| Modifier and Type | Field and Description |
|---|---|
(package private) ImageView |
bmImage |
(package private) Context |
context |
| Constructor and Description |
|---|
DownloadImageTask(ImageView bmImage,
Context c) |
| Modifier and Type | Method and Description |
|---|---|
protected Bitmap |
doInBackground(java.lang.String... urls)
Downloads an image from a link
|
protected void |
onPostExecute(Bitmap result)
Resizes the image into a circular one with 100px radius and stores it locally
|
protected Bitmap doInBackground(java.lang.String... urls)
urls - the link of the imageonPostExecute(Bitmap)protected void onPostExecute(Bitmap result)
result - the image downloaded