FUNNY MEMES APP API - Retrofit - Coroutines. Android studio | Kotlin
Автор: Mohsen Mashkour
Загружено: 2023-05-16
Просмотров: 914
Описание:
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 to build a Meme app to fetch the meme pictures and display them in a Recyclerview using Picasso library.
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/Mem...
API provider:
https://api.imgflip.com/get_memes
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'
//Picasso
implementation 'com.squareup.picasso:picasso:2.8'
Related videos:
Retrofit tutorial:
• Retrofit library
viewBinding:
• viewBinding
-------------------------------------------------
Timestamps:
00:00 Introduction
01:00 Dependencies and permission
02:52 Api source
03:47 Models and data class
05:40 API interface
07:05 Utils
07:50 Retrofit instance
10:04 RecyclerView Adapter
14:00 Main activity
21:00 Setting the data on Recyclerview
22:35 Testing the App
22:56 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
#اندروید
#برنامه_نویسی_اندروید
#کاتلین
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: