moko-resources
compose-multiplatform
moko-resources | compose-multiplatform | |
---|---|---|
4 | 96 | |
1,004 | 14,869 | |
2.9% | 2.3% | |
5.4 | 9.6 | |
6 days ago | 3 days ago | |
Kotlin | Kotlin | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
moko-resources
-
Anyone here who uses compose-multiplatform for desktop apps, what’s your feedback?
For resource management and internationalisation we use https://github.com/icerockdev/moko-resources you need to spend a bit of time with it to understand how it works, but once you have it, it works pretty well. There are some quirks like you have to trigger the gradle task for generating the strings resources manually and some IDE auto-complete does not work (the import of package mostly).
- As an Android dev, is there anything upcoming for KMM image, text. etc. resources?
-
Adopting Kotlin Multiplatform Mobile(KMM) on 9GAG App
Resource sharing (String resources, Localization, Color code scheme) - moko-resources
-
Our KMP Journey
We generated a FatFramework so that it will work on both simulator & device, but discovered that the FatFramework task provided by gradle doesn't copy resources. However our framework requires moko resources to be packaged and the task they provided didn't work for us.
compose-multiplatform
-
Understanding file associations in JVM apps
So, to add file associations, we need to be able to pass both the .properties file and the --file-associations option. At the time of writing this article, the org.jetbrains.compose plugin doesn't provide such a mechanism. There is an open issue on GitHub that describes a possible workaround, which, unfortunately seems to not work on macOS.
-
Compose cannot be used for large amount of text
JetBrains has a simplified example of a general-purpose Compose text viewer here: https://github.com/JetBrains/compose-multiplatform/blob/master/examples/codeviewer/shared/src/commonMain/kotlin/org/jetbrains/codeviewer/ui/editor/Editor.kt
-
[Compose Multiplatform] Disable a button according to a list of flow values
![image](https://github.com/JetBrains/compose-multiplatform/assets/1382241/6747a3f6-53b9-43da-8d97-ab1e1e31170f)
- Compose Multiplatform 1.5.0-beta01
-
Timeline with Scrollbar in LazyColumn Compose
Compose for desktop has a scrollbar component available. You probably can't use that directly on Android, but you could probably steal most of its code.
- How good is Compose Multiplatform in production especially in creating Desktop apps?
-
Kotlin for a desktop App
My company uses https://github.com/JetBrains/compose-multiplatform to make a desktop app in Kotlin. It's amazing and fantastic. It's basically as mature as using Kotlin in an Android app.
-
Kamel v0.5.0 released with Kotlin Native and JS support
Kamel is an asynchronous media loading library for Compose Multiplatform.
-
Ksoup - Kotlin Multiplatform HTML Parser ⚡
Kotlin Compose Multiplatform is the way to do Desktop apps. https://github.com/JetBrains/compose-multiplatform
-
JetBrains Compose is now Compose Multiplatform
As for missing controls, a common one is a grid. They have built in grids, but again they are built for Android and don't make any sense in a desktop app. There is no simple way to create an Excel-like Data Grid like you might see in Windows Forms, although it can be done. https://github.com/JetBrains/compose-multiplatform/issues/344.
What are some alternatives?
multiplatform-settings - A Kotlin Multiplatform library for saving simple key-value data
javafx-examples - A large collection of JavaFX examples demonstrating basic + advanced features of JavaFX.
PeopleInSpace - Kotlin Multiplatform project with SwiftUI, Jetpack Compose, Compose for Wear, Compose for Desktop, Compose for Web and Kotlin/JS + React clients along with Ktor backend.
tornadofx - Lightweight JavaFX Framework for Kotlin
secrets-gradle-plugin - A Gradle plugin for providing your secrets to your Android project.
skiko - Kotlin MPP bindings to Skia
Splitties - A collection of hand-crafted extensions for your Kotlin projects.
javafx-gradle-plugin - Gradle plugin that makes it easy to work with JavaFX 11+
dependency-analysis-gradle-plugin - Gradle plugin for JVM projects written in Java, Kotlin, Groovy, or Scala; and Android projects written in Java or Kotlin. Provides advice for managing dependencies and other applied plugins
Jetpack-Compose-Playground - Community-driven collection of Jetpack Compose example code and tutorials :rocket: https://foso.github.io/compose
moko-mvvm - Model-View-ViewModel architecture components for mobile (android & ios) Kotlin Multiplatform development
tornadofx2 - TornadoFX 2.0