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