https://kotlinlang.org logo
#feed
Title
# feed
b

brandonmcansh

11/10/2023, 5:36 PM
been making a multiplatform airbnb sample using Kotlin Multiplatform and Jetpack Compose. 100% shared UI even with platform stylings still in play. Now have an interactive map on both platforms and Figma to accompany it fully.
❤️ 17
🚀 3
jetpack compose 13
j

Jacob

11/10/2023, 5:54 PM
how does KMM handle the shared UI? Is this a newer feature? We've been using KMM for more than a year and when we got started it seemed like it was mostly for business logic and that you would still use native UI code.
b

brandonmcansh

11/10/2023, 5:56 PM
Compose Multiplatform. It’s very far along actually. Certain platform UI components and behaviors I have expect/actuals around
j

Jacob

11/10/2023, 5:57 PM
does it generate SwiftUI?
j

Jacob Ras

11/10/2023, 5:59 PM
@Jacob no, it does not generate SwiftUI. You could compare it with "normal" or logic-only KMP code.
1
s

Stefan Oltmann

11/10/2023, 6:27 PM
I think this fits better in #compose-ui-showcase 🙂
b

brandonmcansh

11/10/2023, 7:04 PM
Heh didn’t know that existed
🙂 1
1
p

Pablichjenkov

11/10/2023, 7:36 PM
Looks better than the actual Airbnb App lol😀 Great work BTW
❤️ 1
s

Stefan Oltmann

11/10/2023, 7:36 PM
Agreed. 😄
❤️ 1
b

brandonmcansh

11/10/2023, 7:38 PM
They had/have the weirdest insets and dimens system in place right now. Was VERY sporadic. 8-pt now
👌 1
r

rocketraman

11/10/2023, 8:44 PM
Very nice. Is it open source?
plus1 1
b

brandonmcansh

11/14/2023, 8:45 PM
It is now on GitHub but is behind a sponsorship. For those interested I can DM ya a link.
Search flow design completed and beginning integration tonight 🤙
16 Views