been making a multiplatform airbnb sample using Ko...
# feed
b
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
🚀 4
jetpack compose 13
j
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
Compose Multiplatform. It’s very far along actually. Certain platform UI components and behaviors I have expect/actuals around
j
does it generate SwiftUI?
j
@Jacob no, it does not generate SwiftUI. You could compare it with "normal" or logic-only KMP code.
1
s
I think this fits better in #compose-ui-showcase 🙂
b
Heh didn’t know that existed
🙂 1
1
p
Looks better than the actual Airbnb App lol😀 Great work BTW
❤️ 1
s
Agreed. 😄
❤️ 1
b
They had/have the weirdest insets and dimens system in place right now. Was VERY sporadic. 8-pt now
👌 1
r
Very nice. Is it open source?
plus1 1
b
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 🤙
l
There’s a component for maps in Compose Multiplatform @brandonmcansh ?
b
this is using cocoapods Maps for iOS and compose maps for android
l
How do you do to use Maps iOS Component into Compose Multiplatform ? What about the BottonSheet is native from iOS ? There’s a way to import Swift UI Component into Compose Multiplatform ?
b
its exposed in shared module and im interacting with it via UIKitView
l
@brandonmcansh how so can explain how ?
What about the BottonSheet is native from iOS ?
b
the cupertino backdrop effect?
its done in compose with basically a BackdropScaffold running in reverse
l
Can you share a documentation that explain this ?
b
what bottom sheet are you referring to?
r
Have you using any webview in this project?
b
Yes there is webview being used in settings
r
Have you tried media uploads in webview?
b
Like remotely to a website that accepts them?
r
Yes, like i have to do KYC from 3rd party web-view, they asking to upload document from web-view.
223 Views