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

Опубликовано: 05 Май 2023
на канале: 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
#اندروید
#برنامه_نویسی_اندروید
#کاتلین


На этой странице сайта вы можете посмотреть видео онлайн Retrofit GET Request Display Data In a Recyclerview. Android Studio | Kotlin длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Mohsen Mashkour 05 Май 2023, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 2,912 раз и оно понравилось 58 зрителям. Приятного просмотра!