From the course: Android Development: Retrofit with Java
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
GET data with a Retrofit call - Android Tutorial
From the course: Android Development: Retrofit with Java
GET data with a Retrofit call
- [Instructor] Open up the IGitHubService interface again - [Instructor] Open up the IGitHubService interface again - [Instructor] Open up the IGitHubService interface again and let's define all of the methods we need to use and let's define all of the methods we need to use and let's define all of the methods we need to use to get Gist data from the GitHub API. to get Gist data from the GitHub API. to get Gist data from the GitHub API. All of these methods need to return a Retrofit All of these methods need to return a Retrofit All of these methods need to return a Retrofit call object that wraps the type of data call object that wraps the type of data call object that wraps the type of data that will contained in the response that will contained in the response that will contained in the response and will need to be annotated with the correct Retrofit tag. and will need to be annotated with the correct Retrofit tag. and will need to be annotated with the…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.