Retrofit Android Tutorial for Beginners with Kotlin

  Рет қаралды 4,028

Daniel Talks Code

Daniel Talks Code

7 ай бұрын

Learn the basics of making API calls with one of the most popular HTTP clients for #android using #kotlin.
Consider Subscribing 🤩
/ @danieltalkscode
Retrofit: square.github.io/retrofit/
Moshi: github.com/square/moshi/
OKHttpInterceptor: github.com/square/okhttp/tree...
Wizard World API: github.com/MossPiglets/Wizard...
JSON to Kotlin Plugin for Android Studio: plugins.jetbrains.com/plugin/...
-----
The Android robot is reproduced or modified from work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License.

Пікірлер: 12
@fixitman5453
@fixitman5453 4 ай бұрын
EXACTLY what I was looking for! Thank you!
@giapxuan4208
@giapxuan4208 3 ай бұрын
Nice. Thanks for all sir
@danielsgrunge
@danielsgrunge 3 ай бұрын
Thank you so much fellow Daniel 😅
@danieltalkscode
@danieltalkscode 3 ай бұрын
Thank you Daniel ☺️
@jamaal1282
@jamaal1282 7 ай бұрын
Hi could you add Unit Tests and espresso tests to the to do app please?
@thanakornsrisuwan2498
@thanakornsrisuwan2498 5 ай бұрын
Hello Daniel, Can you make tutorial from Rapid Api Please 🙏
@arjinkavalci172
@arjinkavalci172 2 ай бұрын
Do we need to authorize first, if we want to make PUT operation?
@danieltalkscode
@danieltalkscode 2 ай бұрын
Yes, typically you need to authorize to make a PUT http operation. This is because a PUT request is often used to update or replace a resource on a server, which can have significant implications for data integrity and security.
@arjinkavalci172
@arjinkavalci172 2 ай бұрын
@@danieltalkscode thanks now i understand, but how can i authanticate on android side just like swagger? I heard that i should pass jwToken value as an header? Is it the correct way?
@danieltalkscode
@danieltalkscode 2 ай бұрын
Sure! That's one of the common ways to authenticate. Save the JWT token in SharedPreferences after login, then use an OkHttp Interceptor with Retrofit to add the token to each request's header. This way, all requests will include the JWT for authentication.
@arjinkavalci172
@arjinkavalci172 2 ай бұрын
@@danieltalkscode thank you for help, I can handle it now 🙏🏻
HTTP Requests in Kotlin Multiplatform With Ktor - KMP for Beginners
31:53
Inside Out 2: Who is the strongest? Joy vs Envy vs Anger #shorts #animation
00:22
Идеально повторил? Хотите вторую часть?
00:13
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 8 МЛН
The Ultimate Retrofit Crash Course
34:49
Philipp Lackner
Рет қаралды 91 М.
Getting started with Retrofit - Crash Course 🔥
1:39:09
Android Geek
Рет қаралды 9 М.
KMP vs. Flutter - Who Will Win The Cross-Platform Battle?
16:19
Philipp Lackner
Рет қаралды 39 М.
Foreground Services in Android Explained
23:25
Ahmed Guedmioui
Рет қаралды 2 М.
Everything you need to know about Kotlin 2.0 🟣
11:05
Stevdza-San
Рет қаралды 62 М.
low battery 🪫
0:10
dednahype
Рет қаралды 1,7 МЛН
Как удвоить напряжение? #электроника #умножитель
1:00
Hi Dev! – Электроника
Рет қаралды 1,1 МЛН
Nokia 3310 top
0:20
YT 𝒯𝒾𝓂𝓉𝒾𝓀
Рет қаралды 4,1 МЛН
Tag him😳💕 #miniphone #iphone #samsung #smartphone #fy
0:11
Pockify™
Рет қаралды 4,4 МЛН
Look, this is the 97th generation of the phone?
0:13
Edcers
Рет қаралды 8 МЛН