private static bool copyAssetFolder(Android.Content.Res.AssetManager assetManager, String fromAssetPath, String toPath) { try { String[] files = assetManager.List(fromAssetPath); bool res = true; if (files.Length == 0) { //If it's a file, it won't have any assets "inside" it. res &= copyAsset(assetManager, fromAssetPath, toPath); } else { new File(toPath).Mkdirs(); foreach (string file in files) { res &= copyAssetFolder(assetManager, fromAssetPath + "/" + file, toPath + "/" + file); } } return(res); } catch (Java.Lang.Exception e) { e.PrintStackTrace(); return(false); } }
public List <string> Identifiers(string SubSet) { return(new List <string>(_assets.List(SubSet))); }