示例#1
0
        public async Task updateItemList(Dictionary <string, string> items)
        {
            File        assetListFile = new File(externalDir, ASSET_LIST_NAME);
            PrintWriter pw            = new PrintWriter(new File(assetListFile.Path));

            foreach (var entry in items)
            {
                await pw.PrintlnAsync($"{entry.Key} {entry.Value}");

                System.Diagnostics.Debug.WriteLine(this.GetType().Name, $"Wrinting {entry.Key} {entry.Value} in {assetListFile.Path}");
            }
            pw.Close();
        }