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); } }
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); } }