YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
de.yaacc.util.image.ImageDownloadTask Class Reference

AsyncTask fpr retrieving icons while browsing. More...

Inheritance diagram for de.yaacc.util.image.ImageDownloadTask:
Inheritance graph
Collaboration diagram for de.yaacc.util.image.ImageDownloadTask:
Collaboration graph

Public Member Functions

 ImageDownloadTask (ImageView imageView)
 Initialize a new download by handing over the the list where the image should be shown.
 

Protected Member Functions

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.
 

Detailed Description

AsyncTask fpr retrieving icons while browsing.

Author
Christoph Hähnel (eyeless)

Constructor & Destructor Documentation

◆ ImageDownloadTask()

de.yaacc.util.image.ImageDownloadTask.ImageDownloadTask ( ImageView  imageView)

Initialize a new download by handing over the the list where the image should be shown.

Parameters
imageViewcontains the view
Here is the call graph for this function:

Member Function Documentation

◆ doInBackground()

Bitmap de.yaacc.util.image.ImageDownloadTask.doInBackground ( Uri...  uri)
protected

Download image and convert it to icon.

Parameters
uriuri of resource
Returns
icon
Here is the call graph for this function:

◆ onPostExecute()

void de.yaacc.util.image.ImageDownloadTask.onPostExecute ( Bitmap  result)
protected

Replaces the icon in the list with the recently loaded icon.

Parameters
resultdownloaded icon

The documentation for this class was generated from the following file: