re-activates the cache provider
This commit is contained in:
parent
391d5d3bec
commit
6503a111ee
3 changed files with 5 additions and 8 deletions
|
|
@ -266,8 +266,8 @@
|
|||
<HintPath>..\..\packages\XLabs.Caching.2.3.0-pre02\lib\portable-net45+netcore45+wpa81+wp8+monoandroid+monotouch+xamarinios10+xamarinmac\XLabs.Caching.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="XLabs.Caching.SQLite, Version=2.0.5653.32809, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\XLabs.Caching.SQLite.2.0.5653-pre2\lib\portable-net45+netcore45+wp8+MonoAndroid1+MonoTouch1\XLabs.Caching.SQLite.dll</HintPath>
|
||||
<Reference Include="XLabs.Caching.Sqlite, Version=2.3.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\..\packages\XLabs.Caching.SQLite.2.3.0-pre02\lib\portable-net45+netcore45+wpa81+wp8+monoandroid+monotouch+xamarinios10+xamarinmac\XLabs.Caching.Sqlite.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="XLabs.Core, Version=2.3.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
|
|
|
|||
|
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
<package id="Xamarin.GooglePlayServices.Maps" version="29.0.0.1" targetFramework="monoandroid70" />
|
||||
<package id="Xamarin.GooglePlayServices.Measurement" version="29.0.0.1" targetFramework="monoandroid70" />
|
||||
<package id="XLabs.Caching" version="2.3.0-pre02" targetFramework="monoandroid70" />
|
||||
<package id="XLabs.Caching.SQLite" version="2.0.5653-pre2" targetFramework="monoandroid70" />
|
||||
<package id="XLabs.Caching.SQLite" version="2.3.0-pre02" targetFramework="monoandroid70" />
|
||||
<package id="XLabs.Core" version="2.3.0-pre02" targetFramework="monoandroid70" />
|
||||
<package id="XLabs.Forms" version="2.3.0-pre02" targetFramework="monoandroid70" />
|
||||
<package id="XLabs.IoC" version="2.3.0-pre02" targetFramework="monoandroid70" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue