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:
parent
7d72713cd4
commit
f1a726e6b1
9 changed files with 96 additions and 124 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue