Shubham Singh
02/05/2023, 3:02 PMSlackbot
02/05/2023, 10:24 PMursus
02/06/2023, 4:33 AM.myApp
hidden folder in user home?
Or there maybe manually create ~/Library/foo.bar.myapp
. on a mac? appData/local for Windows?
or maybe there is a java api which abstracts this away?Koneko Toujou
02/06/2023, 7:07 AMKoneko Toujou
02/06/2023, 10:47 AMcompose-desktop
as well as compose-android
for example, https://github.com/AndroidPoet/Dropdown works for compose-android
via gradle, but is not importable in compose-desktop
via gradle
(HOWEVER: it's sources, specifically https://github.com/AndroidPoet/Dropdown/tree/master/dropdown/src/main/java/com/androidpoet/dropdown can be manually copy-pasted and DOES work in compose-desktop
)adte
02/06/2023, 9:36 PMMateu
02/07/2023, 9:55 AMval coroutineScope = rememberCoroutineScope()
val textFlow = remember{ MutableStateFlow("") }
var textFlowState = textFlow.collectAsState(textFlow.value, coroutineScope.coroutineContext)
TextField(
value = textFlowState.value,
onValueChange = { textFlow.value = it }
)
In Android works great, but in compose Desktop when you enter the text fast the cursor does not behave correctly, and some chars are not added to the correct position.
I understand that the problem must be related to this post: https://medium.com/androiddevelopers/effective-state-management-for-textfield-in-compose-d6e5b070fbe5
How can I make it work in both places?xxfast
02/07/2023, 10:24 AMeygraber
02/07/2023, 6:19 PMText
that has a clickable modifier not be focusable?adte
02/09/2023, 3:48 AMArjan van Wieringen
02/09/2023, 2:16 PMuniform
?Colton Idle
02/10/2023, 2:01 AMAdam Brown
02/10/2023, 5:37 AMonAltClick
modifier specifically in compose-desktop, which maps to a right click on desktop, and a long press on touch screens.Arjan van Wieringen
02/11/2023, 3:31 PMgraphicsLayer
of a canvas that this only applies to the current canvas, and not what is behind? So, I can't make a panel that blurs everything that is behind it? If true, is there a way in Compose currently to achieve this?Dragos Rachieru
02/11/2023, 5:09 PMDensity
in my desktop app? I want to make the material components smaller.hfhbd
02/12/2023, 9:32 AMAbhinav
02/12/2023, 8:08 PMdarkmoon_uk
02/13/2023, 5:22 AM1.8.20
and Compose (both Jetpack and Multiplatform)?
⚠️ I saw in another thread that there would be no 1.8.20
compatible release for Compose due to irreconcilable compatibility issues between K2 and the Compose compiler.
alphabet yellow question If this is the case; when is the earliest a Kotlin 1.9.0
+ Compose Dev build combination might become available?gyakkun
02/13/2023, 12:41 PMadte
02/14/2023, 2:28 AMchanjungskim
02/14/2023, 4:57 PMchanjungskim
02/14/2023, 5:14 PMspierce7
02/14/2023, 6:33 PMchanjungskim
02/15/2023, 1:34 AMadte
02/15/2023, 6:35 AMJohn O'Reilly
02/15/2023, 5:41 PMLouis
02/15/2023, 7:53 PMRyan Smith
02/16/2023, 1:04 AMKirill Grouchnikov
02/16/2023, 2:06 PMbartosz.malkowski
02/16/2023, 2:26 PMval listState = rememberLazyListState()
and I use it with LazyColumn
and it works fine: composable function is executed once. The problem is when I try to check visible elements, and I call listState.layoutInfo
. Then composable function is recalled (state was changed?) and view is regenerated.
Why?