The purpose of the repository is to study remote data integrations in Xamarin.Forms. This repo contains a Xamarin.Forms application that retrieves and displays a list of GitHub repos.
- Making remote web service calls with RestSharp
- Creating remote data models and deserializing with Json.NET
- Adding resiliency (request retry logic) with Polly
- Reducing load time by caching with Akavache
- Handling network loading, done, and error states
To simulate a network error, turn on airplane mode on your phone or emulator and restart the app.
I chose to displaying loading and error states following Connect to the Internet - Mars Real Estate. However, you could also use pop-up alerts to message errors states to the user.