public class

NoImageCache

extends Object
implements ImageCache
java.lang.Object
   ↳ com.neomades.content.image.NoImageCache

Class Overview

No cache for image loader.

Summary

Fields
public static final NoImageCache INSTANCE
Public Constructors
NoImageCache()
Public Methods
void clear()
Clears all entries in the cache.
Image getImage(String url)
Reads the Image from cache for the URL given in parameter.
void putImage(String url, Image bitmap)
Saves an image to the cache.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.neomades.content.image.ImageCache

Fields

public static final NoImageCache INSTANCE

Public Constructors

public NoImageCache ()

Public Methods

public void clear ()

Clears all entries in the cache.

public Image getImage (String url)

Reads the Image from cache for the URL given in parameter.

Returns
  • the image associated to the URL in the cache or null if not found

public void putImage (String url, Image bitmap)

Saves an image to the cache.