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

Published: 05 May 2023
on channel: 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
#اندروید
#برنامه_نویسی_اندروید
#کاتلین


On this page of the site you can watch the video online Retrofit GET Request Display Data In a Recyclerview. Android Studio | Kotlin with a duration of hours minute second in good quality, which was uploaded by the user Mohsen Mashkour 05 May 2023, share the link with friends and acquaintances, this video has already been watched 2,912 times on youtube and it was liked by 58 viewers. Enjoy your viewing!