Retrofit - Send a simple GET Request | Android Studio Tutorial | Kotlin

preview_player
Показать описание
Hello Doctor Speed Coders

Retrofit is a Type Safe REST client for Android developed by Square. It uses the okHttp library for HTTP requests and is one of the best tools for executing network requests in Android applications. In this video I will show you how to submit a simple GET request, get the result in JSON, convert it to a Kotlin object and display it in our application. So with this video I start a new short tutorial series about the Retrofit library, so stay tuned!

Project Github:

Libraries:

// retrofit library

// Coroutines

Timestamps:
0:00 | Introduction
0:59 | Add Libraries
3:08 | Create Model Package and Data Class
4:33 | Create api Package And Make API Interface & Retrofit Instance
9:50 | create repository
10:50 | Create ViewModel And ViewModelFactory
14:46 | Review All Packages and Class Files
16:29 | Use Retrofit In Kotli Activity For Get Result and Response
20:10 | Test Retrofit In Kotlin And Build APK
Рекомендации по теме
Комментарии
Автор

I've have been struggling with this for such a long time, and you helped me a lot, so thank you so so much for that.

maviniii