enighma
10/06/2022, 1:06 AM1.2.0-beta02
I get a sync error
> Failed to notify project evaluation listener.
> Could not create task ':android:compileDebugAndroidTestKotlin'.
> Cannot invoke "String.trim()" because "in" is null
> KotlinJvmAndroidCompilation with name 'debugAndroidTest' not found.
Interestingly it worked without a hitch on a desktop only project, but the gradle files look a bit different.
Should I be able to use this version in a MPP project?Quan Le
10/07/2022, 2:51 AMzt
10/08/2022, 4:19 AMaltavir
10/09/2022, 7:54 AMAbdelilah El Aissaoui
10/09/2022, 5:04 PMclickable
modifier for each item of the list. Whenever I remove that modifier, it works just fine. Has someone faced a similar issue? 🤔 I'll try to create a sample to reproduce itLucas
10/10/2022, 4:56 PMxxfast
10/11/2022, 12:22 AMcommonMain
?enighma
10/11/2022, 8:17 PMArkadii Ivanov
10/11/2022, 10:16 PMzt
10/12/2022, 12:38 AM@OptIn(ExperimentalComposeLibrary::class)
implementation(compose.material3)
It's wanting me to add This annotation should be used with the compiler argument '-opt-in=kotlin.RequiresOptIn'
for @OptIn
I tried this but it the warning is still there
tasks.withType<KotlinCompile> {
kotlinOptions {
freeCompilerArgs = freeCompilerArgs + "-opt-in=kotlin.RequiresOptIn"
}
}
Yan Pujante
10/12/2022, 1:19 PMArjan van Wieringen
10/12/2022, 6:25 PMMandelbrotViewer
composable. In the movie we have JVM, iOS iPad Simulator and JS. Quite the difference in platform!
Biggest issue is that I got VM allocation errors when using withContext(Dispatchers.Default)
on iOS targets so it is blocking the main thread. I also can't get it to work on Arm64 on Mac. But it's experimental. So... there's that.
I really enjoyed this, and it was very very easy. I can't understate how awesome it would be to have a true multiplatform UI library in Kotlin. I'll post the code later on GitHub.Lucas
10/12/2022, 9:08 PMSean Proctor
10/12/2022, 9:15 PMczuckie
10/12/2022, 11:44 PMLucas
10/13/2022, 1:15 AMStefan Oltmann
10/13/2022, 10:33 AMLazyVerticalGrid
which has a LazyGridState
instead of a LazyListState
. I want to display a scrollbar. I used
VerticalScrollbar
together with the LazyScrollbarAdapter
... This only works with LazyListState
... is something similar available for LazyGridState
?
Someone mentioned https://github.com/Suwayomi/Tachidesk-JUI/blob/master/ui-core/src/desktopMain/kotlin/ca/gosyer/jui/uicore/components/DesktopScrollbar.kt#L105 , but it's broken for GridCells.Adaptive
Edit: Okay, it's already known as https://github.com/JetBrains/compose-jb/issues/2029Kirill Grouchnikov
10/13/2022, 2:14 PMAurora 1.2.0▾
Arjan van Wieringen
10/13/2022, 2:27 PMKirill Grouchnikov
10/13/2022, 3:18 PMMouseInfo.getPointerInfo().getLocation()
Casey Brooks
10/13/2022, 4:40 PMadte
10/14/2022, 4:28 PMorangy
10/15/2022, 2:46 PM* scale
in every place? Like zooming in browser, so window size becomes virtually smaller when zooming in, and then all sizing/measures/font size are multiplied to become bigger and fit the whole space?Mohamed Elfiky
10/17/2022, 7:27 PMspierce7
10/18/2022, 12:08 AMAdam Brown
10/18/2022, 1:38 AMval desktopMain by getting {
dependencies {
api(compose.preview) <-- This fails
api(compose.desktop.currentOs) <-- This fails
api("org.jetbrains.kotlinx:kotlinx-serialization-core-jvm:$kotlinx_serialization_version")
}
}
e: \common\build.gradle.kts:93:21: Function invocation 'compose(...)' expected
This is with Compose Desktop 1.2.0-beta02
and IntelliJ 2022.2.3David W
10/18/2022, 4:26 AM<http://jars-config.pro|jars-config.pro>
is invalid, is there any way to handle that?
The same output jar [F:\<path>\tmp\main-release\proguard\gluegen-rt-natives-windows-amd64-1d9211c54ac0a72ba2b6397fc93c9894.jar] is specified twice.
And sure enough, the same outjars
is added twice to that file.
I took another look and it seems like this is happening for jars that are included both in remote dependencies as well as fileTree
dependencies.
So, maybe that generator is looks at the injars/outjars as a pair for comparison, rather than checking for duplicates of outjars on its own.Richard Glen
10/18/2022, 12:56 PMDragos Rachieru
10/18/2022, 9:01 PMThomas
10/18/2022, 10:35 PMThomas
10/18/2022, 10:35 PMalexey.tsvetkov
10/26/2022, 3:20 PMThomas
10/26/2022, 11:32 PM