void BuildList() { foreach (var target in MeadowProject.DeploymentTargetsManager.GetTargetList()) { var node = new MyTreeNode(target, icon); Store.AddNode(node); } }
async void BuildList() { var fileList = await meadowPad.meadowSerialDevice.GetFilesOnDevice(); Store.Clear(); foreach (var file in fileList) { var node = new MyTreeNode(file); Store.AddNode(node); } }