gaetan
05/15/2019, 8:46 AMFudge
05/15/2019, 11:11 AMdp
, why can't I just put a number, instead of doing <number>.dp
?
What is the deal with the +
operator (in style = +themeTextStyle { subtitle1 }
for example) ? I've read the documentation about it, but I still don't understand the need for it.Fudge
05/15/2019, 9:41 PMctrl+space
in a composable constructor it shows you the suggestions for the current positional parameter (in this case TextAlign
), and then all of the available optional parameters. Is there plans to bump up the positional parameters in autocompletions of composable constructors? I think It would be a good idea.SrSouza
05/15/2019, 9:58 PMgalex
05/16/2019, 4:28 AMLeland Richardson [G]
05/17/2019, 4:54 AMmoetouban
05/17/2019, 6:45 AMFudge
05/17/2019, 9:16 AMFudge
05/17/2019, 3:10 PMSurface
crashes the appbloder
05/17/2019, 4:26 PMSlotTable
responsibility in compose algorithm, it keeps slots and other concepts that are made do manage slots, but what exactly is stored on those slots values, and what its relationship with a compose tree? Is it the core of a compose tree management or something like that? Could anyone explain it, please?Leland Richardson [G]
05/17/2019, 6:27 PMmbonnin
05/17/2019, 6:29 PMHadi Tok
05/17/2019, 10:34 PMFudge
05/19/2019, 2:21 PMGil Goldzweig
05/19/2019, 4:15 PMromainguy
05/20/2019, 2:54 AMAdam Powell
05/20/2019, 3:06 AMnapperley
05/20/2019, 3:51 AM@Composable
fun StoryWidget(story: StoryData) {
// ...
Card {
cornerRadius = 4.dp
elevation = 4.dp
columns += Column {
children += Image { file = image }
children += Padding {
spacing = 16.dp
content = Text { content = story.headline }
}
}
}
}
romainguy
05/20/2019, 3:56 AMGil Goldzweig
05/20/2019, 6:30 AMstreetsofboston
05/21/2019, 11:42 AMthemishkun
05/21/2019, 12:11 PM@Compose
annotation rather than something more common in Kotlin dsl’s Compose.foo()
extensions on some context object?
It seems to me that it could make this more extensible and user-friendly than annotations and compiler plugins
I’ve read about it somewhere that devs went out from traditional “build-view-tree -> diff-view-tree -> dispatch-changes” way to improve performance. Are there any studies on how much actual performance gained?Adam Powell
05/21/2019, 12:50 PMPedro Gomez
05/21/2019, 12:54 PMPedro Gomez
05/21/2019, 1:03 PMPedro Gomez
05/21/2019, 1:05 PMstreetsofboston
05/21/2019, 1:14 PMAdam Powell
05/21/2019, 1:14 PMsuspend
in that they can only be called from other @Composable
functionsFudge
05/21/2019, 1:22 PM