use of com.octo.android.robospice.persistence.retrofit.RetrofitObjectPersisterFactory in project robospice by stephanenicolas.
the class RetrofitJackson2SpiceService method createCacheManager.
@Override
public CacheManager createCacheManager(Application application) throws CacheCreationException {
CacheManager cacheManager = new CacheManager();
cacheManager.addPersister(new RetrofitObjectPersisterFactory(application, getConverter(), getCacheFolder()));
return cacheManager;
}
Aggregations