Click here to Skip to main content
15,899,475 members
Articles / Mobile Apps / Android

Retrofit Tutorial in Android – Part 1: Introduction

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
26 Nov 2020CPOL13 min read 5.2K   1  
How to use Retrofit to easily build an app that connects to an HTTP-based service with the use of GET method to retrieve data and display it nicely on the screen
In this article, I’ll be showing to you a tutorial of how you can connect your app to an API using Retrofit. I’ll be using a free public API to retrieve list of regions, and under each region, the list of countries, for each country, some details like sub-region name and population, and then we will display this list into a Recycler View.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect
Jordan Jordan
A passionate software developer with 13+ years of overall experience in various development languages including C#/vb.net, java. The technologies I mostly focus on are: ASP.NET Core, Android, Angular

I currently work as a Corporate Technical Manager in the Digital Solutions Team at Aramex International in Amman, Jordan.

Comments and Discussions