Take your Android apps to the next level by connecting them to the cloud. Learn how to use the Retrofit library to integrate an Android app with a web API.
Overview
Syllabus
Introduction
- Android, the web, and Retrofit
- What you should know
- REST APIs
- HTTP methods
- Methods for reading
- Methods for writing
- Formats, models, and converters
- Review the sample project
- Include required packages
- Define data models
- Implement an API interface
- GET data with a Retrofit call
- Handle failed requests
- Use query parameters
- Manipulate the URL path
- Make a HEAD request
- Include a header
- Authorize every request
- PUT a star on a Gist
- DELETE a star on a Gist
- POST a comment
- Test the sample app
- Change the names of properties
- Customize the data converter
- Form URL encoding
- Use a query, header, or field map
- Make a multipart request
- Use ProGuard with Retrofit
- Next steps
Taught by
Jon-Luke West