
Implement retrofit components in an mvvm android project by creating a data class for api responses, defining a get endpoint interface, and building a retrofit service with a json converter.
Explore Retrofit http methods including get, post, put, delete, options, head, and patch, and learn how to send parameters in the url or in the body.
Explore how to add query parameters in Retrofit using static parameters, dynamic at query with name and age, optional nullable parameters, and a query map to build flexible get requests.
Explore how response body serves as a generic API response in Retrofit 2, enabling you to check operation success, access headers and HTTP codes, or handle raw data.
Explore synchronous and asynchronous communication in Retrofit, learn how to cancel requests, implement caching, and understand paging, with a preview of a real-world StackOverflow API project.
Learn how to integrate RxJava with Retrofit to convert API responses into a single observable, manage threading with schedulers, and handle disposal in view models.
Set up Retrofit authentication in a Kotlin Android app by modeling a GitHub token, defining the API interface, and using a ViewModel with RxJava to fetch and manage the token.
This is the most complete resource online for learning about Retrofit for Android development
This course will take you step by step, through each concept related to Retrofit, discuss it in detail, then apply it in a practical project.
We will cover topics such as:
Basic Retrofit implementation
Logging
URL resolution
GET, POST and other request methods
Queries
URL manipulation
Request body
Sending form data
Headers
Canceling requests
Caching
Pagination
Synchronous vs asynchronous communications
Retrofit with RxJava
Authentication
In addition, we will also be working on two Android apps to apply the knowledge we learned.
StockOverflow communication app
GitHub authentication and data retrieval app
This course is great if you want to take your Retrofit skills to the next level.
Sign up today and let's start learning about Retrofit for Android.