Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Example of how to implement local database in your Xamarin.Forms applications -
using System;
using System.IO;
using DemoLiteDB.Droid;
using Xamarin.Forms;
[assembly: Dependency(typeof(Helper))]
namespace DemoLiteDB.Droid
public class Helper : IHelper
public string GetFilePath(string file)
string path = Environment.GetFolderPath(Environment.SpecialFolder.Personal);
return Path.Combine(path, file);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment