escodro
02/24/2021, 11:50 AMCannot call setContent twice per test!
Is it possible to “clearContent” before starting it again?
Some of my tests are flaky because I need to mix it up with Espresso. ☹️
Thanks in advance!izyaboi
02/24/2021, 1:51 PMIcon(
imageVector = Icons.Default.PlayArrow,
modifier = Modifier.padding(8.dp),
contentDescription = null,
)
but i want the pause icon from the material icon without to import the whole lib ? how can i get a ImageVector from painterResource?Deepak Gahlot
02/24/2021, 2:01 PMJason Ankers
02/24/2021, 2:54 PMNavGraphBuilder.navigation
is an extension function and not a composable, I can’t see any way call LaunchedEffect
from a nested graph. Do I need to use nested NavHost’s here instead?chao
02/24/2021, 5:05 PMKirill Grouchnikov
02/24/2021, 5:09 PMZhelyazko Atanasov
02/24/2021, 5:20 PMAlejandro Rios
02/24/2021, 5:27 PMkrzysztof
02/24/2021, 5:37 PMVinay Gaba
02/24/2021, 5:40 PMzoha131
02/24/2021, 5:43 PMtcracknell
02/24/2021, 5:44 PMShakil Karim
02/24/2021, 5:50 PMjaqxues
02/24/2021, 5:51 PMProviders(LocalThing provides value) { ... }
been replaced with CompositionLocalProvider(...) { ... }
at some point?Attila Blenesi
02/24/2021, 5:52 PMDenis
02/24/2021, 5:53 PMjulioromano
02/24/2021, 6:03 PMModifier.preferredSize()
anymore, there’s no info about it in the changelog AFAIK.Orhan Tozan
02/24/2021, 6:08 PMjaqxues
02/24/2021, 6:15 PMDrawerState.open()
is now suspend
, is there a new recommended way to open it from the onclick of the menu Icon?
I suppose there is a better way than GlobalScope.launch
?Shakil Karim
02/24/2021, 6:32 PMVsevolod Ganin
02/24/2021, 6:35 PMFlingConfig
which produces function adjustTarget
from the list of anchors
. Do I need to recreate it manually now or is there an analogue?Orhan Tozan
02/24/2021, 6:38 PMButton(onClick = {})
and
Button(modifier = Modifier.clickable {})
?
Any reason why there are two different API's for telling the button what to do on click? Which one do people generally use?tylerwilson
02/24/2021, 6:42 PMVipulyaara
02/24/2021, 7:06 PMtylerwilson
02/24/2021, 7:28 PMArkadii Ivanov
02/24/2021, 7:45 PMSergey Y.
02/24/2021, 8:04 PMNat Strangerweather
02/24/2021, 8:31 PMVivek Sharma
02/24/2021, 8:50 PMpressIndicatorGesture
, I am using this to immitate that :
Modifier.pointerInput(Unit) {
detectTapGestures(
onLongPress = { doingSomething }
)
}
how can I listen when you have left/cancel the long press?