This sample app demonstrates how to download an image from a url and save it to a local SQLite database.
DownloadImageAsync() shows how to download the image as a byte[] from a URL using HttpClient.
The database model stores the image as a byte[]. When the image is retrieved from the database, it is converted from a byte[] to a Xamarin.Forms.ImageSource.
This app contains UITests. The UITests follow the recommended practice of Page Object testing. In the views, we've added an AutomationId to each control to show how UITest can interact with controls most efficiently, using their AutomationId. The test results from Xamarin Test Cloud are viewable here for iOS and here for Android.
