1
0
Fork 0
mirror of https://github.com/Nioux/AideDeJeu.git synced 2026-02-06 08:33:43 +00:00

Async du get database path pour permettre création / copie async

This commit is contained in:
Yan Maniez 2018-10-20 21:57:17 +02:00
parent 7d72713cd4
commit f1a726e6b1
9 changed files with 96 additions and 124 deletions

View file

@ -2,6 +2,7 @@
using Android.Content.PM;
using System;
using System.IO;
using System.Threading.Tasks;
[assembly: Xamarin.Forms.Dependency(typeof(AideDeJeu.Droid.Version_Android))]
namespace AideDeJeu.Droid
@ -27,7 +28,7 @@ namespace AideDeJeu.Droid
return info.VersionCode;
}
public string GetDatabasePath(string databaseName)
public async Task<string> GetDatabasePathAsync(string databaseName)
{
//string path = Environment.GetFolderPath(Environment.SpecialFolder.Personal);
//string dbPath = Path.Combine(path, databaseName);