private async void GetFiles() { try { if (ListUtils.ListSharedFiles.Count > 0) { ListUtils.ListSharedFiles.Clear(); ListUtils.LastSharedFiles.Clear(); } await WoWonderTools.GetSharedFiles(SUserId); if (ListUtils.LastSharedFiles.Count > 0) { MRecycler.Visibility = ViewStates.Visible; MediaLiner.Visibility = ViewStates.Visible; MAdapter.SharedFilesList = ListUtils.LastSharedFiles; MAdapter.NotifyDataSetChanged(); } } catch (Exception e) { Console.WriteLine(e); } }
private async void GetFiles() { try { await WoWonderTools.GetSharedFiles(UserId); ShowEmptyPage(); } catch (Exception e) { Console.WriteLine(e); } }
private async void GetFiles() { try { await WoWonderTools.GetSharedFiles(UserId); ShowEmptyPage(); } catch (Exception e) { Methods.DisplayReportResultTrack(e); } }