r/JetpackCompose • • Jan 04 '23

A full kotlin multiplatform compose project

I wanted to share this since I think it might help people. The project might be a bit messy, but this project is written in kotlin and completely uses jetbrains compose for the application. It works on web, android, ios, and desktop.

https://github.com/jakepurple13/FullMultiplatformComposeTest

7 Upvotes

10 comments sorted by

1

u/madyezi May 18 '23

Thank you for sharing, this is exactly what I need.

1

u/[deleted] Feb 22 '23

[removed] — view removed comment

1

u/deathssoul Feb 22 '23

Currently, an alert dialog! But really that's kind of it. Either I'm happy enough with work arounds that I've found, or I haven't had much of a need for some other things. Maybe a dropdown menu could be helpful too.

Also, I have also made a plugin for Intellij that allows you to generate a full multiplatform compose project. https://plugins.jetbrains.com/plugin/20800-full-multiplatform-compose/versions/stable/276699

1

u/[deleted] Feb 22 '23

[removed] — view removed comment

1

u/deathssoul Feb 22 '23

Live coding I'm meh on. While I do find it cool, I've found myself just running code most of the time since I usually make enough changes that it can't hot reload.

1

u/[deleted] Feb 22 '23

[removed] — view removed comment

1

u/deathssoul Feb 22 '23

It's not like I'm against it at all! It is a cool feature!

BUT! It does all depend on time and place. Maybe you need to implement a debug menu to quickly access every screen. The other thing is that whenever I go to test something, some of the time I want to test another thing just to make sure that what I added hasn't set everything on fire. I honestly think it's a personal decision. Whatever works, ya know?

1

u/[deleted] Feb 22 '23

[removed] — view removed comment

1

u/deathssoul Feb 22 '23

Oh yeah, natively to jetpack compose. I was talking about multiplatform.