Thierry
02/21/2020, 12:14 AMSrSouza
02/21/2020, 12:53 AMKlaas Kabini
02/21/2020, 9:50 AMKlaas Kabini
02/21/2020, 10:18 AMahulyk
02/21/2020, 10:24 AMRouter
vs Navigation Components
?Nikita Prokopov
02/21/2020, 1:01 PMval counter = state { 0 }
timer(period = 16L) { counter.value++ }
Gives me an exception:
Exception in thread "Timer-0" java.lang.IllegalStateException: Not in a frame
at androidx.compose.frames.FramesKt.currentFrame(Frames.kt:180)
at androidx.compose.frames.FramesKt.writable(Frames.kt:461)
at androidx.compose.ModelMutableState.setValue(MutableState.kt:176)
Cody Engel
02/21/2020, 7:03 PMFilip Zych
02/21/2020, 7:22 PMMiguel A. Ruiz
02/21/2020, 10:38 PMcarbaj0
02/22/2020, 7:07 AMThe project is using an incompatible version (3.6.0-rc03) of the Android Gradle plugin.
codeslubber
02/22/2020, 8:23 PMcodeslubber
02/22/2020, 9:48 PMZach Klippenstein (he/him) [MOD]
02/22/2020, 10:49 PMDropdownPopup
to create a simple Spinner control. I’ve passed PopupProperties
with isFocusable = true
, and the popup shows, but none of the children of the popup seem to be getting any click events and clicking outside the popup neither dismisses it nor sends click events to the underlying window. If I use Dialog
instead of the popup, everything works as expected. Are popups broken?Ian Warwick
02/22/2020, 11:46 PMBox
new? did not see that before, wondering in what way its different to Container
they seem to be quite similar. I see one difference is Container can only have one child however Box
is then also quite similar to Stack
as well I guess 🤔caelum19
02/23/2020, 11:31 AMval avatar = vectorResource(R.drawable.usertwo)
val name = "test"
Box(LayoutWidth.Fill + LayoutHeight(65.dp)) {
Row(arrangement = Arrangement.End) {
Box(modifier = LayoutWidth(48.dp) + LayoutHeight(48.dp)) {
DrawVector(avatar)
}
Column {
Text(name)
Text("Test")
}
}
}
Dev05mbonnin
02/23/2020, 2:35 PMComposition requires an active composition context
when trying to do that.vipulasri
02/23/2020, 2:51 PMPadding
has been removed in favour of LayoutPadding
in dev-05. I am having issue replicating the this ripple behaviour now.mbonnin
02/23/2020, 4:22 PMComposable
to an Activity lifecycle ? With Views
, I could hold a reference to the View and call a method from onDestroy
but I'm not sure how to do with compose ?
override fun onDestroy() {
super.onDestroy()
// How do I get a reference to a composable or how do I dispose my composable ?
composable.dispose()
}
codeslubber
02/23/2020, 7:00 PMEditorModel
in dev05?caelum19
02/23/2020, 9:17 PMZsolt
02/23/2020, 11:32 PMbobko
02/24/2020, 1:32 PMCarlos Sessa
02/24/2020, 4:42 PMsunnat629
02/25/2020, 8:05 AMSpacing()
modifier in dev05
? Or am I missing something?amar_1995
02/25/2020, 8:20 AMIan Warwick
02/25/2020, 8:45 AMSlider
(range slider?)Mantas Varnagiris
02/25/2020, 1:14 PMsetContent {
onActive {
Log.d("ASD", "onActive")
}
onDispose {
Log.d("ASD", "onDispose")
}
}
1. Start app - onActive
is called
2. Press back to leave app - onDispose
NOT called
3. Open app again - onActive
is called
So if we depend on onDispose
to cleanup resources and it's not called - leaks happenKlaas Kabini
02/25/2020, 6:27 PMmanueldidonna
02/25/2020, 8:55 PMshikasd
02/26/2020, 2:56 AMloadImageResource
method has some kind of lru cache inside for loaded results (used in loadResourceInternal
), but it never updates that cache in dev-05shikasd
02/26/2020, 2:56 AMloadImageResource
method has some kind of lru cache inside for loaded results (used in loadResourceInternal
), but it never updates that cache in dev-05Ryan Mentley
02/26/2020, 3:10 AMshikasd
02/26/2020, 3:26 AMresourceCache
which never gets updated.Ryan Mentley
02/26/2020, 10:44 AM