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

AsyncTask fpr retrieving icons while browsing. More...

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

Public Member Functions

 IconDownloadTask (ImageView imageView)
 
 IconDownloadTask (ImageView imageView, BrowseContentItemAdapter browseContentItemAdapter)
 

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)

Member Function Documentation

◆ doInBackground()

Bitmap de.yaacc.util.image.IconDownloadTask.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.IconDownloadTask.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: