Ответы типа терпение и труд все перетрут не принимаются.
Я вот знаю что надо использовать Массив, а не Лист там, где это можно.
private List<NormativeDocument> _normDocs;
private HashSet<Guid> _normDocIds;
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
public static string DbPath => DependencyService.Get<ISqLite>().GetDatabasePath("user.db");
#region License
// Разработано: Коротенко Владимиром Николаевичем (Vladimir N. Korotenko)
// email: koroten@ya.ru
// skype:vladimir-korotenko
// https://vkorotenko.ru
// Создано: 09.04.2019 22:38
#endregion
using System;
using System.IO;
using SpecialForcesDirectory.Code;
using SpecialForcesDirectory.Droid;
using Xamarin.Forms;
[assembly: Dependency(typeof(SQLite_Android))]
namespace SpecialForcesDirectory.Droid
{
public class SQLite_Android : ISqLite
{
public SQLite_Android() { }
public string GetDatabasePath(string sqliteFilename)
{
string documentsPath = Environment.GetFolderPath(Environment.SpecialFolder.Personal);
var path = Path.Combine(documentsPath, sqliteFilename);
return path;
}
}
}