├── UWP ├── Assets │ ├── StoreLogo.png │ ├── SplashScreen.scale-200.png │ ├── LockScreenLogo.scale-200.png │ ├── Square44x44Logo.scale-200.png │ ├── Wide310x150Logo.scale-200.png │ ├── Square150x150Logo.scale-200.png │ └── Square44x44Logo.targetsize-24_altform-unplated.png ├── App.xaml ├── MainPage.xaml ├── project.json ├── MainPage.xaml.cs ├── Properties │ ├── AssemblyInfo.cs │ └── Default.rd.xml ├── Package.appxmanifest ├── App.xaml.cs └── AkavacheSample.UWP.csproj ├── iOS ├── Assets.xcassets │ ├── Contents.json │ └── AppIcons.appiconset │ │ └── Contents.json ├── Entitlements.plist ├── Main.cs ├── AppDelegate.cs ├── AkavacheSqliteLinkerOverride.cs ├── packages.config ├── LaunchScreen.storyboard ├── Info.plist └── AkavacheSample.iOS.csproj ├── Droid ├── Resources │ ├── drawable │ │ └── icon.png │ ├── drawable-hdpi │ │ └── icon.png │ ├── drawable-xhdpi │ │ └── icon.png │ ├── drawable-xxhdpi │ │ └── icon.png │ ├── layout │ │ ├── Toolbar.axml │ │ └── Tabbar.axml │ ├── values │ │ └── styles.xml │ └── AboutResources.txt ├── Properties │ ├── AndroidManifest.xml │ └── AssemblyInfo.cs ├── AkavacheSqliteLinkerOverride.cs ├── Assets │ └── AboutAssets.txt ├── MainActivity.cs ├── packages.config └── AkavacheSample.Droid.csproj ├── AkavacheSample ├── Usuario.cs ├── App.xaml ├── AkavacheSqliteLinkerOverride.cs ├── AkavacheSamplePage.xaml ├── App.xaml.cs ├── AkavacheSamplePage.xaml.cs ├── BytesSamplesPage.cs ├── Properties │ └── AssemblyInfo.cs ├── LoginSamplePage.cs ├── SimplePage.cs ├── packages.config ├── ComplexSamplesPage.cs └── AkavacheSample.csproj ├── .gitignore └── AkavacheSample.sln /UWP/Assets/StoreLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thatcsharpguy/Akavache-sample/master/UWP/Assets/StoreLogo.png -------------------------------------------------------------------------------- /iOS/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Droid/Resources/drawable/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thatcsharpguy/Akavache-sample/master/Droid/Resources/drawable/icon.png -------------------------------------------------------------------------------- /Droid/Resources/drawable-hdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thatcsharpguy/Akavache-sample/master/Droid/Resources/drawable-hdpi/icon.png -------------------------------------------------------------------------------- /UWP/Assets/SplashScreen.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thatcsharpguy/Akavache-sample/master/UWP/Assets/SplashScreen.scale-200.png -------------------------------------------------------------------------------- /Droid/Resources/drawable-xhdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thatcsharpguy/Akavache-sample/master/Droid/Resources/drawable-xhdpi/icon.png -------------------------------------------------------------------------------- /Droid/Resources/drawable-xxhdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thatcsharpguy/Akavache-sample/master/Droid/Resources/drawable-xxhdpi/icon.png -------------------------------------------------------------------------------- /UWP/Assets/LockScreenLogo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thatcsharpguy/Akavache-sample/master/UWP/Assets/LockScreenLogo.scale-200.png -------------------------------------------------------------------------------- /UWP/Assets/Square44x44Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thatcsharpguy/Akavache-sample/master/UWP/Assets/Square44x44Logo.scale-200.png -------------------------------------------------------------------------------- /UWP/Assets/Wide310x150Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thatcsharpguy/Akavache-sample/master/UWP/Assets/Wide310x150Logo.scale-200.png -------------------------------------------------------------------------------- /UWP/Assets/Square150x150Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thatcsharpguy/Akavache-sample/master/UWP/Assets/Square150x150Logo.scale-200.png -------------------------------------------------------------------------------- /UWP/Assets/Square44x44Logo.targetsize-24_altform-unplated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thatcsharpguy/Akavache-sample/master/UWP/Assets/Square44x44Logo.targetsize-24_altform-unplated.png -------------------------------------------------------------------------------- /AkavacheSample/Usuario.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | namespace AkavacheSample 3 | { 4 | public class Usuario 5 | { 6 | public string Username { get; set; } 7 | public string FullName { get; set; } 8 | } 9 | } 10 | 11 | -------------------------------------------------------------------------------- /iOS/Entitlements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /UWP/App.xaml: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /AkavacheSample/App.xaml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /Droid/Properties/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /Droid/Resources/layout/Toolbar.axml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /Droid/Resources/layout/Tabbar.axml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /UWP/MainPage.xaml: -------------------------------------------------------------------------------- 1 | 10 | 11 | -------------------------------------------------------------------------------- /iOS/Main.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | 5 | using Foundation; 6 | using UIKit; 7 | 8 | namespace AkavacheSample.iOS 9 | { 10 | public class Application 11 | { 12 | // This is the main entry point of the application. 13 | static void Main(string[] args) 14 | { 15 | // if you want to use a different Application Delegate class from "AppDelegate" 16 | // you can specify it here. 17 | UIApplication.Main(args, null, "AppDelegate"); 18 | } 19 | } 20 | } 21 | 22 | -------------------------------------------------------------------------------- /UWP/project.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "akavache": { 4 | "version": "4.1.2", 5 | "supressParent": "none" 6 | }, 7 | "Microsoft.NETCore.UniversalWindowsPlatform": "5.2.2", 8 | "Splat": "1.6.2", 9 | "SQLitePCL.raw_basic": "0.8.6", 10 | "Xamarin.Forms": "2.3.1.114" 11 | }, 12 | "frameworks": { 13 | "uap10.0": {} 14 | }, 15 | "runtimes": { 16 | "win10-arm": {}, 17 | "win10-arm-aot": {}, 18 | "win10-x86": {}, 19 | "win10-x86-aot": {}, 20 | "win10-x64": {}, 21 | "win10-x64-aot": {} 22 | } 23 | } -------------------------------------------------------------------------------- /iOS/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | 5 | using Foundation; 6 | using UIKit; 7 | 8 | namespace AkavacheSample.iOS 9 | { 10 | [Register("AppDelegate")] 11 | public partial class AppDelegate : global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate 12 | { 13 | public override bool FinishedLaunching(UIApplication app, NSDictionary options) 14 | { 15 | global::Xamarin.Forms.Forms.Init(); 16 | 17 | LoadApplication(new App()); 18 | 19 | return base.FinishedLaunching(app, options); 20 | } 21 | } 22 | } 23 | 24 | -------------------------------------------------------------------------------- /iOS/AkavacheSqliteLinkerOverride.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using Akavache.Sqlite3; 3 | 4 | // Note: This class file is *required* for iOS to work correctly, and is 5 | // also a good idea for Android if you enable "Link All Assemblies". 6 | namespace AkavacheSample.iOS 7 | { 8 | [Preserve] 9 | public static class LinkerPreserve 10 | { 11 | static LinkerPreserve() 12 | { 13 | throw new Exception(typeof(SQLitePersistentBlobCache).FullName); 14 | } 15 | } 16 | 17 | 18 | public class PreserveAttribute : Attribute 19 | { 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Droid/AkavacheSqliteLinkerOverride.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using Akavache.Sqlite3; 3 | 4 | // Note: This class file is *required* for iOS to work correctly, and is 5 | // also a good idea for Android if you enable "Link All Assemblies". 6 | namespace AkavacheSample.Droid 7 | { 8 | [Preserve] 9 | public static class LinkerPreserve 10 | { 11 | static LinkerPreserve() 12 | { 13 | throw new Exception(typeof(SQLitePersistentBlobCache).FullName); 14 | } 15 | } 16 | 17 | 18 | public class PreserveAttribute : Attribute 19 | { 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /AkavacheSample/AkavacheSqliteLinkerOverride.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using Akavache.Sqlite3; 3 | 4 | // Note: This class file is *required* for iOS to work correctly, and is 5 | // also a good idea for Android if you enable "Link All Assemblies". 6 | namespace AkavacheSample 7 | { 8 | [Preserve] 9 | public static class LinkerPreserve 10 | { 11 | static LinkerPreserve() 12 | { 13 | throw new Exception(typeof(SQLitePersistentBlobCache).FullName); 14 | } 15 | } 16 | 17 | 18 | public class PreserveAttribute : Attribute 19 | { 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /AkavacheSample/AkavacheSamplePage.xaml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |