Skip to content

Instantly share code, notes, and snippets.

@icebeam7
Created April 28, 2018 14:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save icebeam7/0387ee33f1f87c303510a519be243634 to your computer and use it in GitHub Desktop.
Save icebeam7/0387ee33f1f87c303510a519be243634 to your computer and use it in GitHub Desktop.
FaceLoginApp: BaseDatosAndroid.cs
using System.IO;
using Xamarin.Forms;
using FaceLoginApp.Droid.Datos;
using FaceLoginApp.Datos;
using FaceLoginApp.Helpers;
[assembly: Dependency(typeof(BaseDatosAndroid))]
namespace FaceLoginApp.Droid.Datos
{
public class BaseDatosAndroid : IBaseDatos
{
public string GetDatabasePath()
{
return Path.Combine(
System.Environment.GetFolderPath(
System.Environment.SpecialFolder.Personal),
Constantes.NombreBD);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment