


Retrofit makes it very easy to consume RESTful web services. In order to make this tutorial not extremely lengthy, I will urge you to take a look at the repo for this project and check out the other classes under the helper package.Create a new class EndPoints.kt under the same helper packageĬlass EndPoints.After that, move MainActivity to the view package you just created Name them - di, helper, model, network, view and viewmodel. Right click on project package - New - Package. Create a New Project - Select Empty Activity - Name the project anything, I named mine “ Direct Currency Converter” - Click Finishīefore adding our dependencies, lets refractor our project structure by creating 6 packages.I’ll assume you’ve already downloaded and installed android studio, if not click here.That was one hell of a list, I know! lets take them one by one and we’ll be done in no time.
