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

Veröffentlicht am: 05 Mai 2023
auf dem Kanal: 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
#اندروید
#برنامه_نویسی_اندروید
#کاتلین


Auf dieser Seite können Sie das Online-Video Retrofit GET Request Display Data In a Recyclerview. Android Studio | Kotlin mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Mohsen Mashkour 05 Mai 2023 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 2,912 Mal angesehen und es wurde von 58 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!