Code example for ImageView

Methods: setImageBitmap, animate, getTag, setAlpha

0
            } 
        } 
    } 
 
    /** 
     * Asynchronously load the track icon bitmap. To use, subclass and override 
     * {@link #onPostExecute(android.graphics.Bitmap)} which passes in the generated track icon 
     * bitmap. 
     */ 
    public static abstract class TrackIconAsyncTask extends AsyncTask<Context, Void, Bitmap> {
        private String mTrackName;
        private int mTrackColor;
        private BitmapCache mBitmapCache;
 
        public TrackIconAsyncTask(String trackName, int trackColor) {
            mTrackName = trackName;
            mTrackColor = trackColor;
        } 
 
        public TrackIconAsyncTask(String trackName, int trackColor, BitmapCache bitmapCache) {
            mTrackName = trackName;
            mTrackColor = trackColor;
            mBitmapCache = bitmapCache;