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
()