![]() In Retrofit you configure which converter is used for the data serialization. It makes it relatively easy to retrieve and upload JSON (or other structured data) via a REST based webservice. This library, in my opinion, is the most important one to learn, as it will do the main job. Retrofit is a REST Client for Java and Android. Part 5: Handle RESTful Web Services using Retrofit, OkHttp, Gson, Glide and Coroutines (you’re here).Part 4: How to implement Dependency Injection in your app with Dagger 2.Part 3: All about that Architecture: exploring different architecture patterns and how to use them in your app.Part 2: How to start building your Android app: creating Mockups, UI, and XML layouts.Part 1: An introduction to the SOLID principles.Introduction: A roadmap to build a modern Android app in 2018–2019.It would be too complicated to recreate the functionality that these well-made libraries have to offer. Every good app does not try to reinvent the wheel but instead uses the most popular third party libraries to solve common problems. I am not going to talk about the native Android way to handle internet requests, because in the real world nobody uses it. We are going to combine multiple libraries at once to get a working result. ![]() You should definitely learn how to handle RESTful Web Services, as their correct implementation is the core knowledge while creating modern apps. These days almost every Android app connects to internet to get/send data.
0 Comments
Leave a Reply. |