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.
Implement an API interface - Android Tutorial
From the course: Android Development: Retrofit with Java
Implement an API interface
- [Narrator] The Retrofit package - [Narrator] The Retrofit package - [Narrator] The Retrofit package will create an implementation of an interface will create an implementation of an interface will create an implementation of an interface that you can use to communicate with a REST API. that you can use to communicate with a REST API. that you can use to communicate with a REST API. Github in this case. Github in this case. Github in this case. Lets go ahead and define this interface. Lets go ahead and define this interface. Lets go ahead and define this interface. In the project outline on the left, In the project outline on the left, In the project outline on the left, right-click the data package in Model, right-click the data package in Model, right-click the data package in Model, and create a new Java class. and create a new Java class. and create a new Java class. Select Interface from the Kind field drop down, Select Interface from the Kind…
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.