Android Retrofit Fundamentals

Despite its decade-spanning lifetime, Retrofit is far from old news. It is a must-have tool for most Android applications that reach out to the network. This course will teach you how to use this popular library for consuming remote APIs in a type-safe manner, from the very first steps all the way to its more advanced concepts.
(Update)

  • Author: Breens Mbaka 
  • Level: Beginner/Intermediate
  • Course Duration: 0 hours
  • Sample Project Included: Yes
  • Learning Path: Android Networking APIs and Libraries

A few more words about this course

Despite its decade-spanning lifetime, Retrofit is far from old news. The popular library for consuming remote APIs in a type-safe manner, created by Square in 2012, is still among the most widely used third-party dependencies in the Android community. Its versatility and ease of use is unmatched by most other solutions for HTTP/S communication, making Retrofit a must-have tool for most Android applications that reach out to the network.
This course will explore the rich feature set of the Retrofit library, from the very first steps all the way to its more advanced concepts and capabilities. You will create a network-first Android application that consumes a remote API using Retrofit, written in the style and architecture of a contemporary, MVVM-based codebase. The course will introduce the basic concepts of defining a Retrofit interface, discuss the plethora of annotations shipped with the library, and lastly conduct a deep dive into more advanced concepts like call adapters and converter factories. (Update)
Drag to resize
By the end of the course you will have mastered:
(topics which viewers will learn)
  • How to use the most commonly used HTTP verbs (GET, POST, PATCH, DELETE) with Retrofit
  • How to send request bodies to the backend
  • How to add query parameters, dynamic path segments and additional HTTP headers (for e.g. authentication)
  • How to send data in different content encodings (e.g. multipart, application/json)
  • How to integrate Retrofit with a third-party serialization library via a Converter (using kotlinx.serialization and JSON as the example)
  • How to integrate Retrofit with a third-party programming model via a CallAdapter (using RxJava 3 as the example(Update)

Meet the instructor

Drag to resize

Breens Mbaka

Content Author & Course Instructor
About
I'm an Android Engineer with a passion to teach and share my knowledge