Conclusion

Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text.

Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text.

Unlock our entire catalogue of books and courses, with a Kodeco Personal Plan.

Unlock now

In this lesson, you learned:

  • How Retrofit simplifies networking code compared to using HttpUrlConnection.
  • How to add Retrofit to your project.
  • How to incorporate Retrofit in an Android app.
  • What components you need to build a Retrofit instance.

This lesson provides a good foundation to build on. In the upcoming lessons, you’ll make API requests with Retrofit, and you’ll learn about additional components that can be very helpful.

Ktor — a Viable Alternative

Ktor is a framework for building server-side and client-side apps. It’s developed by JetBrains. You can use Ktor on Android to consume APIs as an alternative to Retrofit. This can be helpful if you’re working on a Kotlin Multiplatform app where you can’t use Retrofit because it’s a Java library.

See forum comments
Download course materials from Github
Previous: Demo Next: Quiz: Meet Retrofit