SrSouza
10/31/2021, 10:05 PMTobias Suchalla
11/01/2021, 7:47 AMval windowInfo = LocalWindowInfo.current
LaunchedEffect(windowInfo) {
snapshotFlow { windowInfo.isWindowFocused }
.onEach { println(it) }
.launchIn(this)
}
but it only prints false
once and that's that.dimsuz
11/01/2021, 3:07 PMLazyColumn
is not scrollable, it gets cut off. I will post a screenshot in the thread.
Notice that I've added button and it is positioned correctly, so Box constraints are correct. I've added PaddingValues
and now it's obvious that LazyColumn
is not meausred with window's height.
This is 1.0.0-beta5
. Do I do something wrong? Similar code works in Android afaik.
Window(onCloseRequest = { exitApplication() }) {
MaterialTheme {
Box(modifier = Modifier.fillMaxSize()) {
LazyColumn(modifier = Modifier.fillMaxSize(), contentPadding = PaddingValues(30.dp)) {
items(80) { index -> Text("Hello $index") }
}
Button(onClick = {}, modifier = Modifier.align(Alignment.BottomStart)) { Text("Hello") }
}
}
}
Nikola Drljaca
11/02/2021, 10:43 AMjavax.smartcardio
, which could be causing some issues since its supposed to interact with usb ports and whatnot.Clament John
11/02/2021, 11:11 AMSQLDelight
for JVM in Compose desktop? I can't find the database in the project folderClament John
11/03/2021, 7:43 AMDecompose
example app (multi platform) that implements
1. Platform specific actions like importing an image file (file explorer in desktop and content provider in android)
What I'm having difficulty is how should I let the platform know a platform specific action has to happen? The todo app
example, even though display's decompose's navigation prowess it can be quickly glazed up on with very little multi platform specif code.
Edited
This looks like something for MVI? Well following decompose for multi platform makes your app MVI by default I guess.Alexandru Hadăr
11/03/2021, 4:55 PMScott Kruse
11/04/2021, 12:33 AMSrSouza
11/04/2021, 12:33 AMHuixing.Wang
11/04/2021, 2:46 AMKebbin
11/04/2021, 12:03 PMMoritz Lindner
11/05/2021, 8:03 AMKirill Grouchnikov
11/05/2021, 8:39 PMBig Chungus
11/06/2021, 10:00 AMKebbin
11/06/2021, 11:20 AMViewModel
, as described in the Guide to app architecture. Then, your composables are responsible for transforming the current application state into a UI every time the observable data updates."
And again here further down:
"Recomposition:
In an imperative UI model, to change a widget, you call a setter on the widget to change its internal state. In Compose, you call the composable function again with new data. Doing so causes the function to be recomposed--the widgets emitted by the function are redrawn, if necessary, with new data. The Compose framework can intelligently recompose only the components that changed."
I'm only an amateur, but I'm loving this a lot! 🤓mcpiroman
11/06/2021, 5:42 PMiamthevoid
11/07/2021, 7:38 AMTargetFormat.Exe
and tried to run packageExe
task. Project new and just created. I got output [thread].
When i inspect build folder there is no .exe
files. What means SKIPPED
? Nothing builds? May i somehow build exe on linux? Why i got no errors?Kebbin
11/07/2021, 7:38 AMhfhbd
11/07/2021, 6:24 PMimplementation(compose.uiTestJUnit4)
needs skiko, but I only want to test @Composable without ui.Kebbin
11/08/2021, 10:25 AMmikehearn
11/08/2021, 2:05 PMmikehearn
11/08/2021, 2:05 PMmikehearn
11/08/2021, 2:24 PMcarlosjordi
11/08/2021, 10:03 PMkevindmoore
11/08/2021, 11:39 PMAaron Yoder
11/11/2021, 1:15 AMspierce7
11/11/2021, 1:17 AMJavier
11/11/2021, 3:25 AM"error": "Packages monthly outgoing traffic limit of 1.4 TB exceeded"
https://maven.pkg.jetbrains.space/public/p/compose/dev/org/jetbrains/compose/ui/ui/1.0.0-beta6-dev450/ui-1.0.0-beta6-dev450.pomolonho
11/11/2021, 5:36 AMmikehearn
11/11/2021, 11:13 AM