Retrofit GET Request Display Data In a Recyclerview. Android Studio | Kotlin

Pubblicato il: 05 maggio 2023
sul canale di: Mohsen Mashkour
2,912
58

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
#اندروید
#برنامه_نویسی_اندروید
#کاتلین


In questa pagina del sito puoi guardare il video online Retrofit GET Request Display Data In a Recyclerview. Android Studio | Kotlin della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Mohsen Mashkour 05 maggio 2023, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 2,912 volte e gli è piaciuto 58 spettatori. Buona visione!