YoVDO

Android Development: Retrofit with Kotlin

Offered By: LinkedIn Learning

Tags

Retrofit Courses Android Development Courses Kotlin Courses REST APIs Courses HTTP Methods Courses Data Models Courses Coroutines Courses

Course Description

Overview

Find out how to use Retrofit with idiomatic Kotlin code that you can apply directly to your Android app.

Syllabus

Introduction
  • Leveraging APIs in your Android app with Retrofit
  • What you should know
1. Understanding APIs and Their Uses
  • REST APIs and how Android apps use them
  • HTTP methods and how Retrofit uses them in your Android app
  • HTTP methods for reading data with an API
  • HTTP methods for writing data with an API
  • Using and translating API data in your Android app
2. Concurrency with Coroutines
  • Why we need concurrency with networking
  • What are coroutines and how do they help with networking?
  • Using coroutines in your Android app
3. Get Started with Retrofit
  • Understand the starter code for the Android Retrofit project
  • Include the Retrofit library in an Android app
  • Define Kotlin data models for API objects
  • Implement a Retrofit API interface
4. Retrieving Data with Retrofit
  • Retrieve data with Retrofit in an Android app
  • Chain API calls with Retrofit
  • Handle failed requests within the coroutine
  • Use query parameters with Retrofit
  • Making requests without coroutines
5. Send Data and Authenticate
  • Make a PUT request
  • Make a PATCH request
  • Make a POST and DELETE request
  • Handling authentication in APIs
6. Advanced Configuration Options
  • Change the names of properties
  • Customize the data converter
  • Form URL encoding
  • Use ProGuard with Retrofit
Conclusion
  • Next steps with Retrofit on Android

Taught by

Rahul Pandey

Related Courses

Android Development Essential Training: Manage Data with Kotlin
LinkedIn Learning
Intermediate Kotlin for Android Developers
LinkedIn Learning
Kotlin Essential Training
LinkedIn Learning
Advanced Generators and Coroutines
Pluralsight
Building Web Applications in Kotlin Using Ktor
Pluralsight