Search in sources :

Example 1 with SimpleSerializerObjectPersisterFactory

use of com.octo.android.robospice.persistence.springandroid.xml.SimpleSerializerObjectPersisterFactory in project robospice by stephanenicolas.

the class XmlSpringAndroidSpiceService method createCacheManager.

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

Aggregations

CacheManager (com.octo.android.robospice.persistence.CacheManager)1 SimpleSerializerObjectPersisterFactory (com.octo.android.robospice.persistence.springandroid.xml.SimpleSerializerObjectPersisterFactory)1