private async Task LoadFiles()
        {
            if (CheckClientAndAccessToken())
            {
                try
                {
                    DisplayLoading(true);
                    var response = await _client.GetFiles();

                    filesListBox.ItemsSource = response;
                    DisplayLoading(false);
                }
                catch (Exception e)
                {
                    this.ShowMessageAsync("Houston, we've had a problem.", e.Message);
                }
            }
        }
        private async Task LoadFileListAsync()
        {
            await ToggleProgressBar(true);

            var fileList = await client.GetFiles();

            var fileDataList = new List <YCFileData>();

            foreach (var file in fileList)
            {
                var fileData = new YCFileData(file.FileName, file.Size, file.Modified, file.InternalName);
                fileDataList.Add(fileData);
            }

            this.DefaultViewModel["Contents"] = fileDataList;

            await ToggleProgressBar(false);
        }