| com.neomades.content.image.ImageCache |
Known Indirect Subclasses
|
Simple cache adapter interface.
Implementation with an LruCache is recommended.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract void |
clear()
Clears all entries in the cache.
| ||||||||||
| abstract Image |
getImage(String url)
Reads the
Image from cache for the URL given in parameter. | ||||||||||
| abstract void |
putImage(String url, Image image)
Saves an image to the cache.
| ||||||||||
Clears all entries in the cache.
Reads the Image from cache for the URL given in parameter.