Retrofit 2 — Basics of Mocking Server Responses

In the past months we've shown you a wide variety of Retrofit features. In this blog post we'll explore a new area: mocking. Specifically, we'll introduce to you techniques to set up mock server responses on the phone.

If you want to learn about other Retrofit topics, check our list of blog posts:

Retrofit Series Overview

  1. Introduction to Call Adapters (Coming soon)
  1. Callbacks (Coming soon)
  2. Annotations (Coming soon)
  3. Fluent Interface with Builders (Coming soon)


Continue reading

University Enrollment Required

Future Students benefit from value packed videos and tutorials.
Enroll to receive exclusive content and value right away or sign in if you’re already a Future Student.

Enroll me for $12/mo

Explore the Library

Find interesting tutorials and solutions for your problems.

Miscellaneous