In this video, I'll show you how to manage a simple Get HTTP request using the Retrofit library and kotlin coroutines with a clean structure that you can use for all of your projects in 7 steps and display the received data in a Recyclerview.
If you like the content, buy me a coffee by clicking on this link. ☕☕☕
https://www.buymeacoffee.com/mkrdevel...
You can find the source codes of this video here:
https://github.com/MohsenMashkour/Ret...
------------------------------------------------
dependencies:
// retrofit
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
// coroutine
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0'
------------------------------------------------
Related videos:
viewBinding:
• viewBinding
Recyclerview:
• everything about recyclerView
Retrofit get request:
• Retrofit Get request in 7 steps. Andr...
-------------------------------------------------
Timestamps:
00:00 Introduction
02:12 API interface
04:26 Models and data class
06:13 Utils
07:16 Retrofit instance
09:36 Main activity
16:12 Recyclerview adapter
19:52 Testing the App
24:04 Ending
---------------------------------------------------
Join me on social media:
MkrDeveloper website:
https://www.mkrdeveloper.com/.
MkrDeveloper Instagram page:
/ mkr.developer
MkrDeveloper Telegram Chanel:
https://t.me/Mkr_Developer
MkrDeveloper Discord server:
/ discord
.
.
.
.
#Android
#kotlin
#android_studio
#kotlin_course
#android_tutorial_beginners
#android_developers
#retrofit
#get_http_request_retrofit
#اندروید
#برنامه_نویسی_اندروید
#کاتلین
Sur cette page du site, vous pouvez voir la vidéo en ligne Retrofit GET Request Display Data In a Recyclerview. Android Studio | Kotlin durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Mohsen Mashkour 05 mai 2023, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 2,912 fois et il a aimé 58 téléspectateurs. Bon visionnage!