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

Implement an API interface - Android Tutorial

From the course: Android Development: Retrofit with Java

Start my 1-month free trial

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…

Contents