How to get list of downloaded files from External File Directory in xamarin.forms?
How to get list of downloaded files from External File Directory in xamarin.forms? I am working in xamarin.forms. I want to download file and also want to show all the downloaded files as a list. I want to implement this feature in both android and IOS. I took reference from below link to download files. It was successfully implemented. https://forums.xamarin.com/discussion/71203/how-to-download-a-file-in-xamarin-forms-and-store-it-in-the-device-storage But Now I want to list out all the downloaded files which are available in that folder. I did not any solution for the same. For android : public void Downloaded() { CrossDownloadManager.Current.PathNameForDownloadedFile = new Func<Plugin.DownloadManager.Abstractions.IDownloadFile, string>(file => { string fileName = Android.Net.Uri.Parse(file.Url).Path.Split('/').Last(); return Path.Combine(ApplicationContext.GetExternalFilesDir(Android.OS.Environment.DirectoryDownlo...