re-activates the cache provider

This commit is contained in:
Paul Schneider 2016-10-02 20:20:01 +02:00
commit 6503a111ee
3 changed files with 5 additions and 8 deletions

View file

@ -131,13 +131,10 @@ namespace BookAStar.Droid
.Register<IXFormsApp>(app)
.Register<ISecureStorage>(t => new KeyVaultStorage(t.Resolve<IDevice>().Id.ToCharArray()))
/*
.Register<ICacheProvider>(
t => new SQLiteSimpleCache(new SQLitePlatformAndroid(),
new SQLiteConnectionString(pathToDatabase, true), t.Resolve<IJsonSerializer>()))
*/
;
new SQLiteConnectionString(pathToDatabase, true), t.Resolve<IJsonSerializer>()));
Resolver.SetResolver(resolverContainer.GetResolver());
}