Тёмный

How to migrate Retrofit to KTOR - Android App to Compose Multiplatform series 

Code With Kashif
Подписаться 541
Просмотров 583
50% 1

The video discusses the process of migrating an Android app to Kotlin multiplatform and Compose multiplatform, focusing on code structure, design system, core modules, and network layer. I will be demonstrating creating shared modules, adding targets for different platforms, and using expect functions to bridge common code with platform-specific implementations. Then address issues related to setting up compile SDK, handling JVM targets, creating domain models, setting up HTTP clients, and making API calls. The importance of copying files instead of cutting them is emphasized to avoid breaking existing functionality. The video also discusses using plugins like serialization and content negotiation, refactoring code, and successfully testing the app after migration
🔹 What You'll Learn:
- How to transition from Retrofit to KTOR in your project
- Best practices for setting up KTOR for Kotlin Multiplatform
- Integrating new network layer with existing hilt implementation
Don't forget to like, comment, and subscribe for more content on Kotlin Multiplatform and Compose development!
Timestamps: 0
0:01 Intro to Kotlin Multiplatform
01:10 Explaining design system module
03:31 Usage of shared Kotlin modules
05:13 Adding Kotlin multiplatform plugin
07:18 Understanding source sets
09:40 Android and iOS targets defined
11:29 Resolving serialization issues
13:37 'Expect function' concept introduced
16:49 Focus on Android development
20:09 Testing shared module functionality
28:03 Utilizing HTTP client plugins
39:01 API implementation in shared module
49:13 Conclusion and next steps
Get the code at my Github: github.com/Kas...
Connect with me on Linkedin: / kashif-mehmood-km
Follow me on Medium: / kashif-mehmood-km
Lets share on Instagram: / kashif_mughal._

Опубликовано:

 

12 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 4   
@shahidzbi
@shahidzbi 19 дней назад
Exciting stuff
@emekaeze7705
@emekaeze7705 17 дней назад
Can you create an android app that will split random numbers of 1 to 50 into different 5 folder?
@hafizmohd013
@hafizmohd013 17 дней назад
One missing here, How to convert ui android to become kmp. Like we totally want to be react native multiplatform instead of only sharing data layer.
@codewithkashif4125
@codewithkashif4125 17 дней назад
This is a series of videos, we will be migrating the database next video and then eventually the ui as well
Далее
All about Compose Multiplatform and KMP
1:01:49
Просмотров 1,5 тыс.
Standoff 2 is a true horror! #standoff #horror #meme
00:13
ДЖЕФ  ЕЩЕ ПОМОГАЕТ!
09:37
Просмотров 365 тыс.
Cursor Is Beating VS Code (...by forking it)
18:00
Просмотров 94 тыс.
Standoff 2 is a true horror! #standoff #horror #meme
00:13