Kirill Grouchnikov
03/22/2022, 5:28 PMSean Proctor
03/22/2022, 11:08 PMPavle Joksovic
03/23/2022, 1:48 PMLeon
03/23/2022, 2:34 PMDra
03/23/2022, 3:56 PM@Composable
fun TileMatrixViewer(matrix: TileMatrix) {
Text(Helper.displayer.showMap(matrix), fontFamily = FontFamily.Monospace)
}
object Helper {
val displayer by lazy { BaseDisplayer() }
/* some other things */
}
But the Text
widget never updates when I change the position of a player, how can I make it so it is updated?
You can see the whole class for TileMatrix
right here on my git if it might help to answer -> https://github.com/HFDrae/RoguEngine/blob/main/src/main/kotlin/util/graph/tiles/TileMatrix.kt
Another question that might make this one useless, how should I go if I want to display my grid as a grid of components rather than a String that represents the whole grid ?
Thanks in advance !tuan tran
03/25/2022, 7:22 AMNorbi
03/26/2022, 6:40 PMKirill Grouchnikov
03/28/2022, 10:38 AMremember { mutableStateOf }
together with the newly added binding to the underlying SkRuntimeShaderBuilder::uniform
. When the mouse is moved over the button, the amount of blur and red tinting goes down, showing how to combine derivedStateOf
with the same SkRuntimeShaderBuilder::uniform
.
Apart from the more demo-ey nature of this video, this should enable not only the things done in Android (stretch overscroll, content blur, fancy ripples), but also things like image editing with quick live previews of effects, introduction tutorials that blur / highlight relevant parts of the UI, and many more.Bino
03/28/2022, 11:36 AMMainKt
reference as the process name.
Can this be adjusted by an application name?james
03/29/2022, 9:56 PMxxfast
03/29/2022, 11:42 PMDavid W
03/30/2022, 5:45 AMtheapache64
03/30/2022, 7:06 AMHow onerous is it to actually create a CfD program for macOS?
Ivan Pavlov
03/30/2022, 9:00 AMColor
?Kirill Grouchnikov
03/30/2022, 2:39 PMIvan Pavlov
03/31/2022, 5:59 PMIcon(
imageVector = Icons.Outlined.Star,
contentDescription = "contentDescription",
)
Alexander Maryanovsky
04/01/2022, 6:20 AMDragos Rachieru
04/01/2022, 7:10 AMViewModel
and some of the navigation componenet multiplatform.Long Tran
04/01/2022, 7:48 AMorg.gradle.api.InvalidUserCodeException: Only one of the JVM targets can be configured to work with Java. The target 'common' is already set up to work with Java; cannot setup another target 'dev'
Luc Girardin
04/01/2022, 8:33 PMrcd27
04/02/2022, 9:03 PMabbic
04/03/2022, 10:33 AMNorbi
04/03/2022, 3:26 PMOutlinedTextField
?
I would like to use it as an uneditable value holder for a dropdown list (to have the other nice features like the label animation).
Thanks.Abdelilah El Aissaoui
04/03/2022, 5:51 PM.deb
currently allowed by jpackage.
Adding a dedicated section for flatpak here:
https://github.com/JetBrains/compose-jb/tree/master/tutorials/Native_distributions_and_local_executionLeander Behr
04/03/2022, 9:22 PMCould not resolve org.jetbrains.skiko:skiko:0.7.16
. Is there some repository where that's available or do I have to wait for it to land in one? edit: (ahh maybe this is for #compose)spierce7
04/05/2022, 5:08 AMDavid W
04/05/2022, 4:17 PMSnapshotStateMap
seems like the ideal way to expose it to the UI, but I can't use that in my non-compose module.
StateFlow<Map<T, V>>
seems like the only option, but that emits the entire map on each change, rather than only what changed about it.
Any other better options? I could make a SnapshotStateMap
observe the StateFlow
but that's kinda gross, right?Clyde
04/06/2022, 6:28 AMrememberSaveable
save and restore across app invocations on desktop? Specifically my window size is not being remembered on MacOs, which it seems it should be since rememberWindowState
delegates to rememberSaveable
.darkmoon_uk
04/06/2022, 7:41 AMKirill Grouchnikov
04/06/2022, 3:29 PMCanvas
composable.Kirill Grouchnikov
04/06/2022, 3:29 PMCanvas
composable.james
04/06/2022, 10:57 PMKebbin
04/07/2022, 12:51 AMDragos Rachieru
04/07/2022, 6:59 AMFilip Wiesner
04/07/2022, 8:36 AMKirill Grouchnikov
04/07/2022, 1:48 PMandylamax
04/07/2022, 6:42 PM