Zimri Leisher
11/09/2020, 4:44 AMZimri Leisher
11/09/2020, 5:25 AMShawn Witte
11/09/2020, 8:00 AMFlow
into a compose State
?mayojava
11/09/2020, 10:20 AMandroidx.compose.desktop.DesktopMaterialTheme
?Animesh Sahu
11/09/2020, 11:29 AMAnimesh Sahu
11/09/2020, 11:31 AMlhwdev
11/09/2020, 12:23 PMSpikey Sanju
11/09/2020, 1:11 PMAnimesh Sahu
11/09/2020, 1:17 PMWindow(
title = "Compose for Desktop",
) {
DesktopMaterialTheme(colors = lightColors(background = Color.Cyan)) {
Text("Test")
}
}
Spikey Sanju
11/09/2020, 1:27 PMpatrick
11/09/2020, 2:47 PMJohn
11/09/2020, 3:26 PMlaith
11/09/2020, 6:42 PMJavier
11/09/2020, 10:54 PMckloss
11/10/2020, 12:23 AMEric Ampire [MOD]
11/10/2020, 10:52 AMBox {
var isDialogVisible = remember { mutableStateOf(false) }
if (isDialogVisible) {
AlertDialog(
onDismissRequest = {
isDialogVisible.value = false
},
title = { Text(text = "Dialog Title") },
text = { Text(text = "Salut les amis vous allez bien ?") },
confirmButton = {
TextButton(
onClick = { isDialogVisible.value = false },
content = {
Text(text = "Oui")
}
)
},
dismissButton = {
TextButton(
onClick = { isDialogVisible.value = false },
content = {
Text(text = "Non")
}
)
}
)
}
}
Every time I try to display a AlertDialog I get this exception
Exception in thread "AWT-EventQueue-0" kotlin.NotImplementedError: An operation is not implemented: not implemented
at androidx.compose.ui.window.DesktopDialogKt.ActualDialog(DesktopDialog.kt:28)
at androidx.compose.ui.window.DialogKt.Dialog(Dialog.kt:42)
at androidx.compose.material.AlertDialogKt.AlertDialog-ubiPcs4(AlertDialog.kt:143)
at androidx.compose.material.AlertDialogKt.AlertDialog-E7Yi3bI(AlertDialog.kt:80)
at MainKt$main$1.invoke(main.kt:70)
Xiaohui
11/10/2020, 12:30 PMspierce7
11/10/2020, 1:20 PMmain
in a separate module is there?Se7eN
11/10/2020, 1:53 PMText("MARCH", style = MaterialTheme.typography.subtitle2)
// MaterialTheme.typography.subtitle2:
subtitle2 = TextStyle(
letterSpacing = 2.sp,
fontSize = 14.sp,
fontFamily = JosefinSans
)
Looks like this:Grigorii Yurkov
11/10/2020, 3:13 PMwrap_content
?Big Chungus
11/10/2020, 5:47 PMBig Chungus
11/10/2020, 6:54 PMBig Chungus
11/10/2020, 8:13 PMException in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: 'void androidx.compose.ui.window.PopupKt.Popup(androidx.compose.ui.window.PopupPositionProvider, boolean, kotlin.jvm.functions.Function0, androidx.compose.ui.window.PopupProperties, kotlin.jvm.functions.Function2, androidx.compose.runtime.Composer, int, int)'
at androidx.compose.material.MenuKt.DropdownMenu-Cfdtu1M(Menu.kt:114)
suresh
11/10/2020, 8:29 PMjava.awt.FileDialog
seems to be working fine. Is that the recommended way?6qat
11/10/2020, 8:37 PMlaith
11/10/2020, 11:19 PMspierce7
11/11/2020, 12:56 AMspierce7
11/11/2020, 7:26 PMmultiplatform-setup
and the multiplatform-compose-setup
plugins? First time I’m seeing the multiplatform-setup
plugin.suresh
11/11/2020, 8:06 PMArkadii Ivanov
11/11/2020, 8:25 PM0.1.0-m1-build62
and App depends on version 0.1.0-build113
then looks like Gradle picks the older version 0.1.0-m1-build62
. And the app crashes at runtime. I think version names should comply to Gradle conflict resolution algorithm. Perhaps version names should be padded with zeros (like in Jetpack Compose, xxx-alpha08
), and there should be no middle substrings like m1
.Arkadii Ivanov
11/11/2020, 8:25 PM0.1.0-m1-build62
and App depends on version 0.1.0-build113
then looks like Gradle picks the older version 0.1.0-m1-build62
. And the app crashes at runtime. I think version names should comply to Gradle conflict resolution algorithm. Perhaps version names should be padded with zeros (like in Jetpack Compose, xxx-alpha08
), and there should be no middle substrings like m1
.Igor Demin
11/16/2020, 1:33 PMArkadii Ivanov
11/16/2020, 1:35 PMrsktash
12/30/2020, 4:19 PMArkadii Ivanov
12/30/2020, 4:24 PMrsktash
12/30/2020, 4:27 PMArkadii Ivanov
12/30/2020, 4:29 PMrsktash
12/30/2020, 4:31 PMArkadii Ivanov
12/30/2020, 4:32 PMrsktash
12/30/2020, 4:39 PMArkadii Ivanov
12/30/2020, 4:40 PMrsktash
12/30/2020, 10:36 PMArkadii Ivanov
01/02/2021, 8:48 AMrsktash
01/02/2021, 6:05 PMArkadii Ivanov
01/02/2021, 7:48 PMrsktash
01/02/2021, 8:32 PMArkadii Ivanov
01/03/2021, 9:00 AMrsktash
01/03/2021, 12:25 PMArkadii Ivanov
01/03/2021, 12:27 PMrsktash
01/03/2021, 1:28 PMArkadii Ivanov
01/03/2021, 1:31 PMrsktash
01/03/2021, 11:08 PMArkadii Ivanov
01/04/2021, 8:21 AMrsktash
01/17/2021, 4:04 PMArkadii Ivanov
01/17/2021, 4:32 PMrsktash
01/19/2021, 11:42 AMArkadii Ivanov
01/19/2021, 11:43 AMrsktash
01/22/2021, 4:34 AMArkadii Ivanov
01/22/2021, 3:55 PMrsktash
01/24/2021, 5:47 AM