AsyncTask fpr retrieving icons while browsing.
More...
|
| interface | Listener |
| | Tells the owner of the row that the load is over, on the main thread, whether it delivered, failed or was cancelled (a cancelled task never reaches onPostExecute), so the owner can forget the task. More...
|
| |
|
|
| IconDownloadTask (ImageView imageView) |
| |
|
| IconDownloadTask (ImageView imageView, String deviceId) |
| |
|
| IconDownloadTask (ImageView imageView, int width, int height) |
| |
|
| IconDownloadTask (ImageView imageView, String requestKey, int width, int height, Listener listener) |
| | For a recycled row: the bitmap is only set while the view's tag still equals requestKey (the row was not bound to something else meanwhile), and listener is told when the task ends, however it ends.
|
| |
|
| Bitmap | doInBackground (Uri... uri) |
| | Download image and convert it to icon.
|
| |
| void | onPostExecute (Bitmap result) |
| | Replaces the icon in the list with the recently loaded icon.
|
| |
|
void | onCancelled (Bitmap result) |
| |
AsyncTask fpr retrieving icons while browsing.
- Author
- Christoph Hähnel (eyeless)
◆ doInBackground()
| Bitmap de.yaacc.util.image.IconDownloadTask.doInBackground |
( |
Uri... | uri | ) |
|
|
protected |
Download image and convert it to icon.
- Parameters
-
- Returns
- icon
◆ onPostExecute()
| void de.yaacc.util.image.IconDownloadTask.onPostExecute |
( |
Bitmap | result | ) |
|
|
protected |
Replaces the icon in the list with the recently loaded icon.
- Parameters
-
The documentation for this class was generated from the following file:
- /github/workspace/yaacc/src/main/java/de/yaacc/util/image/IconDownloadTask.java