Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cuub/sugared-list-animations-sample
/ functions
Functions
26 in github.com/cuub/sugared-list-animations-sample
⨍
Functions
26
◇
Types & classes
10
↓ 2 callers
Method
addBitmapToCache
Adds this bitmap to the cache. @param bitmap The newly downloaded bitmap.
src/com/cuubonandroid/sugaredlistanimations/sample/ImageDownloader.java:344
↓ 2 callers
Method
cancelPotentialDownload
Returns true if the current download has been canceled or if there was no download in progress on this image view. Returns false if the download in pr
src/com/cuubonandroid/sugaredlistanimations/sample/ImageDownloader.java:122
↓ 2 callers
Method
clearCache
Clears the image cache used internally to improve performance. Note that for memory efficiency reasons, the cache will automatically be cleared after
src/com/cuubonandroid/sugaredlistanimations/sample/ImageDownloader.java:390
↓ 2 callers
Method
download
Download the specified image from the Internet and binds it to the provided ImageView. The binding is immediate if the image is found in the cache and
src/com/cuubonandroid/sugaredlistanimations/sample/ImageDownloader.java:60
↓ 2 callers
Method
downloadBitmap
(String url)
src/com/cuubonandroid/sugaredlistanimations/sample/ImageDownloader.java:153
↓ 2 callers
Method
getBitmapDownloaderTask
()
src/com/cuubonandroid/sugaredlistanimations/sample/ImageDownloader.java:292
↓ 1 callers
Method
forceDownload
Same as download but the image is always downloaded and the cache is not used. Kept private at the moment as its interest is not clear.
src/com/cuubonandroid/sugaredlistanimations/sample/ImageDownloader.java:84
↓ 1 callers
Method
getBitmapDownloaderTask
@param imageView Any imageView @return Retrieve the currently active download task (if any) associated with this imageView. null if there is n
src/com/cuubonandroid/sugaredlistanimations/sample/ImageDownloader.java:142
↓ 1 callers
Method
getBitmapFromCache
@param url The URL of the image that will be retrieved from the cache. @return The cached bitmap or null if it was not found.
src/com/cuubonandroid/sugaredlistanimations/sample/ImageDownloader.java:356
↓ 1 callers
Method
resetPurgeTimer
Allow a new delay before the automatic cache clear is done.
src/com/cuubonandroid/sugaredlistanimations/sample/ImageDownloader.java:398
Method
BitmapDownloaderTask
(ImageView imageView)
src/com/cuubonandroid/sugaredlistanimations/sample/ImageDownloader.java:236
Method
DownloadedDrawable
(BitmapDownloaderTask bitmapDownloaderTask)
src/com/cuubonandroid/sugaredlistanimations/sample/ImageDownloader.java:287
Method
FlushedInputStream
(InputStream inputStream)
src/com/cuubonandroid/sugaredlistanimations/sample/ImageDownloader.java:206
Method
NowImageAdapter
(Context context, SpeedScrollListener scrollListener)
src/com/cuubonandroid/sugaredlistanimations/sample/NowImageAdapter.java:73
Method
PlusImageAdapter
(Context context, SpeedScrollListener scrollListener)
src/com/cuubonandroid/sugaredlistanimations/sample/PlusImageAdapter.java:73
Method
doInBackground
Actual download method.
src/com/cuubonandroid/sugaredlistanimations/sample/ImageDownloader.java:243
Method
getRowView
(int position, View convertView, ViewGroup parent)
src/com/cuubonandroid/sugaredlistanimations/sample/NowImageAdapter.java:78
Method
getRowView
(int position, View convertView, ViewGroup parent)
src/com/cuubonandroid/sugaredlistanimations/sample/PlusImageAdapter.java:78
Method
onCreate
(Bundle savedInstanceState)
src/com/cuubonandroid/sugaredlistanimations/sample/MainActivity.java:17
Method
onCreateOptionsMenu
(Menu menu)
src/com/cuubonandroid/sugaredlistanimations/sample/MainActivity.java:28
Method
onMenuItemSelected
(int featureId, MenuItem item)
src/com/cuubonandroid/sugaredlistanimations/sample/MainActivity.java:35
Method
onPostExecute
Once the image is downloaded, associates it to the imageView
src/com/cuubonandroid/sugaredlistanimations/sample/ImageDownloader.java:252
Method
removeEldestEntry
(LinkedHashMap.Entry<String, Bitmap> eldest)
src/com/cuubonandroid/sugaredlistanimations/sample/ImageDownloader.java:315
Method
run
()
src/com/cuubonandroid/sugaredlistanimations/sample/ImageDownloader.java:334
Method
setMode
(Mode mode)
src/com/cuubonandroid/sugaredlistanimations/sample/ImageDownloader.java:297
Method
skip
(long n)
src/com/cuubonandroid/sugaredlistanimations/sample/ImageDownloader.java:210