Yan Pujante
03/28/2021, 5:05 PM@Composable
fun PartCard2(part: Part) {
var expanded by remember { mutableStateOf(false) }
val elevation = if (expanded) 3.dp else 1.dp
Card(elevation = elevation,
modifier = Modifier.animateContentSize().clickable { expanded = !expanded }) {
Row {
Column {
Text(part.name)
if (expanded) {
(1..10).forEach {
Text("Much more....")
}
}
}
}
}
}
I have ran into situations when clicking the card would display the clicking animation, but the card remains expanded. So I am wondering, is my code wrong? Or am I running into some issues with the compose code?SrSouza
03/28/2021, 8:24 PMv79
03/31/2021, 7:49 PMembedded-kotlin
and kotlin-dsl
plugins rely on features of Kotlin 1.3.70
that might work differently than in the requested version 1.4.31
.` - any thoughts?Timo Drick
04/01/2021, 1:46 AMJavier
04/02/2021, 9:23 AMKirill Grouchnikov
04/02/2021, 8:15 PMjim
04/05/2021, 10:41 AMtheapache64
04/06/2021, 2:23 PMWindow
?🤔theapache64
04/07/2021, 10:15 AMHyia
04/08/2021, 8:10 AMHyia
04/08/2021, 8:19 AMColton Idle
04/09/2021, 1:31 AMtheapache64
04/10/2021, 8:04 AMDrawScope#drawImage
can accept Paint
object 😬
Thread in Slack Conversationloloof64
04/10/2021, 12:28 PMBahaa Kallas
04/10/2021, 5:08 PMolonho
04/14/2021, 5:39 AM0.4.0-build182
is usable againSebastian Aigner
04/15/2021, 3:17 PMv79
04/16/2021, 7:09 PMText()
appearing on hover, but it both does and doesn't affect the flow of the neighbouring elements. Hard to explain - here's a screenshot, notice how is pushes the row below down, but doesn't push the box to the right out, and is overwritten by its neighbour. Any suggestions?jim
04/17/2021, 4:50 PMComposePanel
- This widget allows you to put Compose into an existing Swing application or hierarchy, and allows you to render Compose widgets inside it.
SwingPanel
- This widget allows you to put Swing widgets into an existing Compose application or hierarchy, and allows you to place Swing widgets inside it.
Most other frameworks, like JavaFX, have good interoperability with Swing (enabling you to embed javafx into swing and vice versa), so you can use Swing as the glue between Compose and your other UI frameworks.Carter
04/19/2021, 9:52 AMMustafa Ozhan
04/22/2021, 3:18 PM1.5.0-RC
? if yes from where I can follow supported versions ?smallshen
04/30/2021, 2:04 AMolonho
05/04/2021, 11:16 AMSebastian Aigner
05/06/2021, 1:30 PMtheapache64
05/10/2021, 4:21 PMaravind
05/11/2021, 4:40 AMaravind
05/11/2021, 7:15 AMArkadii Ivanov
05/14/2021, 3:02 PM1.5.0
?Ch8n
05/15/2021, 1:55 PMCh8n
05/17/2021, 8:43 PMRaining Particles
, much of the code is the same and works on almost the same logic, I learned how to load bitmaps on canvas.
Code review are welcome ✨
https://github.com/ch8n/Compose-Rain