Retrofit Tutorial SIMPLE GET REQUEST – Android Studio

Retrofit Make sure to require Internet permissions in your AndroidManifest.xml file: <manifest xmlns:android=”http://schemas.android.com/apk/res/android”> <uses-permission android:name=”android.permission.INTERNET” /></manifest> Add the following to your app/build.gradle file: dependencies { implementation ‘com.google.code.gson:gson:2.8.5’ implementation ‘com.squareup.retrofit2:retrofit:2.4.0’ implementation ‘com.squareup.retrofit2:converter-gson:2.4.0’ }