compose-multiplatform Questions
2
I'm currently working on a Compose Multiplatform project using Kotlin and targeting desktop platforms. I'm encountering an issue when trying to create a distributable build for desktop in Android S...
Bianchi asked 18/3 at 12:49
1
I have implemented the latest version of Room in my KMP project (roomCommon = "2.7.0-alpha06" ). The new version change the instantiation setup for a RoomDatabase in a KMP project
https:/...
Yerga asked 11/8 at 16:14
3
Solved
I'm currently working on a project using Compose Multiplatform project, and looking for ways to handle image loading from a URL. However, since Coil isn't supported, I haven't found a solution.
I'v...
Crepuscular asked 30/8, 2023 at 9:31
1
I want to change the status bar color. I have tried some code in App.kt file MaterialTheme{
}
But it's not affect on statusbar color.
I want to change the status bar color like the background of t...
Halsted asked 20/3 at 4:27
1
I've been playing around with Compose for Desktop, and I am trying to figure out how Jetbrain styled the Tray Composable. I am assuming that's what they used to build the Jetbrains Toolbox since th...
Adalia asked 3/11, 2022 at 0:53
4
Solved
There's applications I'd like to write where I'd like some things to occur on a schedule.
Polling a URL for updates every few minutes seems to be a fairly common use case. In this particular case, ...
Sonora asked 20/2, 2022 at 4:17
2
Any idea of how to approach clickable areas on images? It would be great if in desktop mode (yeah the desktop mode is available now; see https://www.jetbrains.com/lp/compose) there was something li...
Kalong asked 16/11, 2020 at 9:8
1
Solved
I have my own observable properties library, inspired by JavaFX. In it, I define a class called BindableProperty. It essentially has all the same features and similar implementation details as Java...
Bothnia asked 31/8, 2023 at 4:17
2
Solved
I am an Android developer and I have experience with Jetpack Compose. Now, I am trying to build desktop apps, so I found this Compose for Desktop project. I want to store a JSON file with my deskto...
Clung asked 27/6, 2022 at 19:2
2
I'm trying to migrate an Android Jetpack Compose project to compose multiplatform. How can we use context in the composables.
val context = LocalContext.current
I can't access the LocalContext
Sunup asked 10/5, 2023 at 2:38
3
Solved
I am looking for a way to easily use custom fonts in a Compose Multiplatform project.
I found that we need to use Font from the androidx.compose.ui.text.platform.Font package. But this object takes...
Beneath asked 17/4, 2023 at 12:31
1
I'm doing a project with Jetpack Compose Multiplatform Desktop.
I'm not very familiar with Gradle, and I would like to use Material 3 in my project.
So, I added this line in build.gradle.kts file:
...
Remote asked 30/11, 2022 at 5:47
3
Solved
In Jetpack/Desktop Compose I want a coroutine to run in response to changes to a SnapshotStateList.
In this example:
import androidx.compose.foundation.layout.Column
import androidx.compose.materia...
Carnation asked 29/9, 2022 at 9:50
1
Solved
I'm learning Jetbrains' "Compose Multiplatform" which is based on Jetpack Compose.
Some info
Kotlin: 1.5.31
Intellij: 2021.3.1
So when building the code below I get the error:
fun Modif...
Portamento asked 16/9, 2022 at 1:45
0
I have a project where I dynamically generate a tree as a composable which I can edit.
Now I wanted to add a feature, where I can export this tree as a bitmap (another format will likely do the job...
Guardroom asked 17/6, 2022 at 8:20
1
Solved
Pretty simple; just created a Compose Multiplatform project from the wizard.
Went ahead and created the Theme; but I wanted to use the same font so I put poppins.ttf inside commonMain/resources/fon...
Prospector asked 14/2, 2022 at 23:14
1
Solved
I have a BasicTextField in Jetbrains Compose Multiplatform for desktop. When I click on it, the TextField gets focus and becomes editable. However, when I click somewhere else in my application, th...
Vagary asked 20/12, 2021 at 8:36
1
I want to create a small binary out of my Compose desktop app. Following are the options out of the box with Compose:
Create native package with java runtime (great, but the size is very big)
Crea...
Boothman asked 14/6, 2021 at 8:11
1
© 2022 - 2024 — McMap. All rights reserved.