Search in sources :

Example 1 with InFileBitmapObjectPersister

use of com.octo.android.robospice.persistence.binary.InFileBitmapObjectPersister in project robospice by stephanenicolas.

the class OkHttpBitmapSpiceService method createCacheManager.

@Override
public CacheManager createCacheManager(Application application) throws CacheCreationException {
    CacheManager cacheManager = new CacheManager();
    InFileBitmapObjectPersister inFileBitmapObjectPersister = new InFileBitmapObjectPersister(application);
    cacheManager.addPersister(inFileBitmapObjectPersister);
    return cacheManager;
}
Also used : CacheManager(com.octo.android.robospice.persistence.CacheManager) InFileBitmapObjectPersister(com.octo.android.robospice.persistence.binary.InFileBitmapObjectPersister)

Example 2 with InFileBitmapObjectPersister

use of com.octo.android.robospice.persistence.binary.InFileBitmapObjectPersister in project robospice by stephanenicolas.

the class BitmapSpiceService method createCacheManager.

@Override
public CacheManager createCacheManager(Application application) throws CacheCreationException {
    CacheManager cacheManager = new CacheManager();
    InFileBitmapObjectPersister inFileBitmapObjectPersister = new InFileBitmapObjectPersister(application);
    cacheManager.addPersister(inFileBitmapObjectPersister);
    return cacheManager;
}
Also used : CacheManager(com.octo.android.robospice.persistence.CacheManager) InFileBitmapObjectPersister(com.octo.android.robospice.persistence.binary.InFileBitmapObjectPersister)

Aggregations

CacheManager (com.octo.android.robospice.persistence.CacheManager)2 InFileBitmapObjectPersister (com.octo.android.robospice.persistence.binary.InFileBitmapObjectPersister)2