lahathinking.blogg.se

Kotlin ios and android
Kotlin ios and android






kotlin ios and android

Adding a new REST route or change data validation would be done only once and be in sync on all platforms.īut I'm guessing that you have to pretty knowledgeable about the underlying platforms to know how (and if it's even possible) to create a good abstraction above the platform code. You use platform specific frameworks for making the actual HTTP requests, but can write all higher level business logic in Kotlin and expose that. However, I wonder if/when/to what extent the abstractions become leaky.įor me it makes perfect sense to e.g create an internal API client using this. Kotlin Multiplatform looks really cool and limiting code sharing to non-UI code makes much more sense to me.








Kotlin ios and android