Code example for WeakReference

0
 */ 
public class WeakMemoryCache extends BaseMemoryCache<String, Bitmap> { 
	@Override 
	protected Reference<Bitmap> createReference(Bitmap value) { 
		return new WeakReference<Bitmap>(value); 
	} 
}