Robert Menke
09/06/2019, 1:17 AMBMG
09/06/2019, 6:54 AMProvider
(https://pub.dev/packages/provider) pattern. Would you guys prefer/recommend any specific state management technique for Compose when it gets released?kioba
09/08/2019, 5:31 PMWrap
and Container
result in a 0 sized child. is this the expected behavior?voddan
09/09/2019, 6:08 AMPaul Woitaschek
09/10/2019, 10:50 AMthemishkun
09/10/2019, 12:42 PMkioba
09/16/2019, 6:15 PMgpaligot
09/17/2019, 9:17 AMAndrey Danilov
09/18/2019, 9:47 PMduration
to fun <T> Transition
function for example?alexsullivan114
09/27/2019, 1:25 PMthemishkun
09/27/2019, 9:10 PMuploadArchives
to install latest compose in local maven repo.
I’m trying to build commit dcc1de2983b53d51988bef191cbea7a722edaf08Ash
10/04/2019, 3:22 AMAdam Powell
10/04/2019, 8:25 PMText(text = "Hello, world!", modifier = padding(16.dp))
Ruckus
10/04/2019, 8:28 PMPadding(16.dp) { Text(text = "Hello, world!") }
dewildte
10/05/2019, 12:06 PMjim
10/09/2019, 3:50 PMlist.map { it.map { ... }}
or you need to create a mutable list with nested for
loops that mutate the list. Those approaches are both perfectly doable, but not super ergonomic. The Compose method ends up handling if
statements and for
loops in a more natural way.
To be clear, other declarative frameworks like React, Flutter, Vue, and Ember are great frameworks, so please don't take the above as a criticism of them. The various frameworks have different constraints and environments, and these decisions are all just a series of tradeoffs. We as an ecosystem are still learning and experimenting and iterating. We opted to do more work at compile time instead of at runtime with a VDOM, which has both pros and cons. Hopefully we will find that the pros outweigh the cons in our environment, but only time will tell.Mark Murphy
10/10/2019, 1:11 PM0.1.0-dev01
Jetpack Compose artifacts that landed in the Google Maven repo? The androidx.compose
ones seem to be empty, and the androidx.ui
ones transitively depend on the empty compose-runtime
one. 🧐Ash
10/11/2019, 12:11 AMIcaro Temponi
10/11/2019, 2:55 PM//MainActivity.kt
setContent {
val (text, setText) = +state { "Hello, World!" }
MaterialTheme {
Column(modifier = padding(8.dp)) {
Text(text = text)
Button(text = "Click me", onClick = { setText("Button Clicked!") })
}
}
}
Tristan Caron
10/11/2019, 3:01 PMval (text, setText) = +state { "Hello, World!" }
And not
var text by State("Hello, World!")
Same questions for @Composable
actually
@Composable
fun MyComponent() {}
Instead of
fun MyComponent = composable { }
Maybe I should wait for an article about this?Icaro Temponi
10/11/2019, 6:38 PMfun imageFromResource(res: Resources, resId: Int): Image
to create one from a resource and noticed that it uses an AndroidImage
class that does exactly what I need, but it's internal. Is there a way to do this right now? Or should we copy paste the class or create our implementation of Image what uses a Bitmap?Yang
10/14/2019, 3:20 AMLeland Richardson [G]
10/14/2019, 8:15 PMLeland Richardson [G]
10/14/2019, 8:15 PMSiyamed
10/15/2019, 6:42 AMthemishkun
10/15/2019, 10:10 AMkapt
and kotlin.reflect
now. Will it be permanent requirements or a subject to change?Icaro Temponi
10/16/2019, 11:11 AMromainguy
10/16/2019, 7:59 PM./gradlew studio
Akram
10/17/2019, 12:33 PMTash
10/17/2019, 9:01 PM