Is there an `Decompose` example app (multi platfo...
# compose-desktop
c
Is there an
Decompose
example app (multi platform) that implements 1. Platform specific actions like importing an image file (file explorer in desktop and content provider in android) What I'm having difficulty is how should I let the platform know a platform specific action has to happen? The
todo app
example, even though display's decompose's navigation prowess it can be quickly glazed up on with very little multi platform specif code. Edited This looks like something for MVI? Well following decompose for multi platform makes your app MVI by default I guess.
g
I think you would have to implement platform-specific actions with
expect
/
actual
interfaces or functions. https://kotlinlang.org/docs/mpp-connect-to-apis.html
👍 1
c
Oh OK. Yes I think that's the way to go. Let me have a try and I'll get back (maybe)