Lifecycle path to Multiplatform

preview_player
Показать описание
We’ve recently converted the AndroidX Lifecycle libraries (ViewModel, Lifecycle Runtime, and Compose support) to Kotlin multi-platform (KMP). Join this session to learn more about how this process went, what the real-world challenges of maintaining API backward compatibility are, what lessons we learned from working around KMP limitations, and insights to guide you in migrating your own libraries to KMP.

If you are an app developer, the talk can still be useful for you to learn more about what it takes to convert a library to KMP, the API challenges we faced and how the process went

Resources:

#Featured #Latest #AndroidDevelopers

Speaker: Marcello Galhardo
Products Mentioned: Android
Рекомендации по теме
Комментарии
Автор

Amazing content. Really nice to see the devs from inside commenting about the challenges.

Show de bola!

MrTASouza
Автор

The key takeway being to not use mocks was hilarious, I'm sure some people will be taken aback by that 😅

Salamakii
Автор

Thanks for the video on all the learnings from making a KMP library. Interesting and helpful.

robchr
Автор

Muito bom, Marcello, obrigado por compartilhar esse conteúdo com a gente! 👏👏👏

walmswalms
Автор

So what is going to be the UI layer for KMP on Desktop and iOS? Does this mean we will get Android UI on Desktop and iOS? If so when? For my own AllBinary Platform I use lcdui, lwuit, gdevelop extensions, and web for UI.

TravisBerthelot
Автор

I had the same question during droidcon but couldn't find the answer - what about SavedStateHandle? In Android, you can simply add it to the ViewModel constructor, and it will be there, bringing some valuable data, like navigation arguments. Since navigation compose is multiplatform, is this also supported in KMP? Can I just write an extra SavedStateHandle parameter in my KMP view model and read out nav args out of it? We checked this with JetBrains guys and at least koin was not handling it in KMP like it does in Android.

_runtime
Автор

I wish more personalizable interface in android

mankitotostadoconpapas
Автор

my impression is good for you solving these problems, but what's in it for me? The video's usefulness is little for me as a native developer. I love videos that teach me how to do stuff.

silver
Автор

PLEAS WHAT IS THE BEST ANDROID APP DEVELOPMENT LANGUAGE THAT YOU WILL ADVISE A NEW-BE WANNA-BE ANDROID APP DEVELOPER IN 2024 TO LEARN AND PLEASE WHERE CAN I GET FULL COURSE TUTORIAL FOR BEGINNING THE JOURNEY AND MAY I KNOW IF THERE IS ANY ROADMAP TO ANDROID APP DEVELOPMENT FOR BEGINNERS

thfloorAI
Автор

So you prefer to keep a bloated and unfamiliar (3 methods) java-compatible API instead of a cleaner and mockable Kotlin compatible API ? Why not "Don't use Java" instead of "don't use Mocks" ? That's sad there's still Java dinosaurs responsible for Android development at Google.

XxdarkninoxX
Автор

Wouldn't have been better rewrite a new version in pure kotlin and maintain both separately 🤔

pablovaldes
Автор

Google pushing both KMP *and* Flutter ?

pnemonic
join shbcf.ru