Evgeniy Shmoilov
02/07/2021, 8:01 PMCanvas
by coordinates?loloof64
02/07/2021, 8:07 PMlaunch
in order to start a new Coroutine. But, though I've installed the coroutine dependency in gradle.build
, I still get an error in Android Studio
What did I forget to set ?Tlaster
02/08/2021, 3:03 AMdialog
for the NavGraphBuilder
, is there any chance to have composableDialog
?Utkarsh Tiwari
02/08/2021, 4:17 AMMarko Novakovic
02/08/2021, 9:41 AMMikołaj Kąkol
02/08/2021, 10:54 AMclipToPadding=false
?Shabinder Singh
02/08/2021, 1:58 PMDenis
02/08/2021, 2:21 PM@Preview
to draw wireframes? Most of the time it shows them, but sometimes there are no wireframes or just a part of it.julioromano
02/08/2021, 2:49 PMRow
composable which, when it has too many children, instead of overflowing continues on a “new line” ?Denis
02/08/2021, 4:37 PMjava.lang.IllegalArgumentException: Layer is redrawn for LayoutNode in state NeedsRelayout [LayoutNode@5aef729 children: 0 measureBlocks: MeasuringIntrinsicsMeasureBlocks@d83eaae{ measureBlock=androidx.compose.foundation.layout.BoxKt$boxMeasureBlocks$1@340204f }]
There was a similar issue https://github.com/android/compose-samples/issues/129. I don't know if it's the same problem.Kari Kähkönen
02/08/2021, 9:10 PMColton Idle
02/08/2021, 10:08 PMModifier.statusBarsPadding()
to my Toolbar that's in a scaffold, but my statusbar is white instead of Purple (my Toolbar is purple). Am I doing something wrong?Rick Regan
02/09/2021, 12:27 AMText
? (I'm using Modifier.horizontalScroll(scrollState)
on the Text, and the text has maxLines = 1
.) I was looking for it in ScrollState
but it looks like that's just used to programatically scroll. I'd like to use the scroll as a trigger to generate more characters of text; for example, more decimal places of a given number. (I guess this is kind of a "lazy" or "pagination" like behavior for Text.)knthmn
02/09/2021, 7:32 AMViewModel
that is injected by Hilt with the new @Assisted
annotation. How do I create the ViewModel
inside a composable?Shakil Karim
02/09/2021, 8:07 AMJason Ankers
02/09/2021, 12:22 PMTheMrCodes
02/09/2021, 2:17 PMElnur Jeksenov
02/09/2021, 3:05 PMCanvas(modifier = Modifier.fillMaxSize(),
onDraw = {
drawRect(
size = Size(packFloats(200f, 50f)),
color = Color.Blue,
style = Stroke(width = 1f, pathEffect = PathEffect.dashPathEffect(floatArrayOf(10f, 10f), 0f))
)
}
)
Have you got any idea, why this exception is appearing?Tuba Kesten
02/09/2021, 3:11 PMDenis
02/09/2021, 7:32 PMlineHeight
works? Why doesn't it affect the first line? What is the space below the first line? (Code in thread)ak
02/09/2021, 7:45 PMAndroidView
to display a MapView
in Compose. I am able to get the map to display fine, but there are interactions within my screen that require me to modify the map after a user clicks a button. i.e. displaying a route on the map after doing a network call from the Google Directions API.
The trouble I am having is my AndroidView
Composable update
block is not firing when my Directions API call is ready. e.g. when my mutableStateOf(directions)
changes.Zach Klippenstein (he/him) [MOD]
02/09/2021, 8:27 PMAndroidView
noticed that the view state of their nested Android view hierarchies isn’t being restored correctly either after config changes or navigation, or weird stuff with lifecycles?
I’ve been exploring some of these interactions and found what I’m pretty sure are a number of bugs. The README in this repo describes a number of the (potential) issues I found, but if people have found other repro cases it would probably be good to add them to the Google issue.Thomas
02/09/2021, 9:13 PMdragGestureFilter
with startDragImmediately = true
since it was deprecated?ursus
02/10/2021, 3:03 AMdarkmoon_uk
02/10/2021, 9:43 AM1.4.30
compatible release? Reason being: I've hit a NotImplementedException
while using the IR backend with 1.4.21-2
, Kyant
02/10/2021, 10:21 AMjulioromano
02/10/2021, 2:32 PMDenis
02/10/2021, 3:33 PMIlias Zosimadis
02/10/2021, 4:41 PMkotlinx-coroutines-android:1.4.1
but for kotlinx-coroutines-android:1.4.2
the camera preview layout is not centered on the screen.tcracknell
02/10/2021, 6:35 PMtcracknell
02/10/2021, 6:35 PMtylerwilson
02/10/2021, 6:41 PMThomas
02/10/2021, 7:11 PMAlways try to use the whole item object as a key but something like an id of it.I think this contains a typo, I assume you mean: not the whole item but only identifiers.
cb
02/10/2021, 7:13 PMjim
02/10/2021, 7:15 PMNo static method setContent
). Please hang tight as we resolve an issue; we hope to have an update by end of day.Ian Lake
02/10/2021, 10:47 PMcompiled with an unstable version
and No static method setContent
errors. Please make sure you add an explicit dependency on androidx.activity:activity-compose:1.3.0-alpha02
when upgrading to Compose Alpha 12: https://developer.android.com/jetpack/androidx/releases/activity#1.3.0-alpha02