예제 #1
0
 private async void BtnNavBack_Clicked(object sender, EventArgs e)
 {
     if (PrevPaths.Count > 0)
     {
         string prevPath = PrevPaths.Last();
         PrevPaths.RemoveAt(PrevPaths.Count - 1);
         await DataBind(prevPath);
     }
 }
예제 #2
0
        private async void DocumentList_ItemSelected(object sender, SelectedItemChangedEventArgs e)
        {
            PrevPaths.Add(FolderPath);
            var item = (DataContracts.Result)e.SelectedItem;

            if (item.Icon == "file.png")
            {
                IsBusy = true;
                await GetFile(item);
            }
            else
            {
                await DataBind(item.ServerRelativeUrl);
            }
        }