When developing a mobile app persisting data is important, why? Because a mobile app is not a web app, it shouldn’t depend on having a reliable internet connection 100% of the time. For example, when you open a mobile app to see the list of transactions if you don’t have internet you will only see […]
Mocking your app in Xamarin Forms
When we start developing a new application there’s the possibility that you don’t have the API ready yet. But you want to start doing the UI, so you want to code your app in a way that when API is available the integration will be easier to do and won’t affect the code done so […]
Consuming a RESTful Web Service in Xamarin Forms using Refit (Part 3)
In the second part of this series of articles, we talked about how to structure your project using Refit. In this article, we are going to talk about how to structure your project to consume multiple APIs. Let’s start understanding the issue In the previous article we were consuming the MakeUp API, in this sample […]
Consuming a RESTful Web Service in Xamarin Forms using Refit (Part 2)
In the first part of this series of articles, we talked about how to use Refit showing some examples of it’s main features. Also we did our first request. In this part, we are going to talk about how to structure your project when using Refit, in a way that can be easier to maintain. […]
Consuming a RESTful Web Service in Xamarin Forms using Refit (Part 1)
In Xamarin Forms there are several ways to consume restful web services, could be by using the Microsoft Http Libraries or third party libraries like Refit, RESTSharp, PortableRest, etc. In this article, I’m going to show you step by step how to interact with a rest api using Refit. This will be a series of articles […]