jetbrains-compose Questions

3

I'm working on a desktop application using Jetbrains Compose, but I'm open to solutions using Swing (it's used under the hood) as well. I want to implement a feature where the application window is...
Mweru asked 18/6, 2023 at 12:57

6

Solved

What is the difference between these two approaches? val result = remember(key1, key2) { computeIt(key1, key2) } (Docs) val result by remember { derivedStateOf { computeIt(key1, key2) } } (Docs) ...
Orva asked 28/11, 2021 at 14:22

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

2

I am writing a desktop application using desktop compose. But unable to find any suggestion on how to use web-view like in android we are supposed to use. For desktop-app, we can not use android we...
Effeminate asked 13/6, 2021 at 13:57

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...

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...

0

I am creating a Jetbrains Compose Multiplatform project. But I will only need Desktop (JVM) and Android, so two JVM targets. I want to factor out the logic which needs grpc, so both Android and Des...

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...
1

© 2022 - 2025 — McMap. All rights reserved.