Colton Idle
05/03/2021, 3:07 PMVince Rickey
05/03/2021, 3:12 PMIntrinsicSize.Min
incorrectly or if I misunderstood?Rahul Sainani
05/03/2021, 4:27 PMAlexander Karkossa
05/03/2021, 7:50 PMSocheat KHAUV
05/04/2021, 4:28 AMMuhammad Zaryab Rafique
05/04/2021, 9:08 AMMBegemot
05/04/2021, 9:20 AMPhilip Blandford
05/04/2021, 9:40 AMval listState = rememberLazyListState()
LaunchedEffect(itemIdx) {
coroutineScope.launch {
listState.scrollToItem(itemIdx)
}
}
But this has a rather jarring effect, in that you see the thing scroll to position - what I want is for it just to be there ready when the page opensDaniele B
05/04/2021, 10:21 AMJurriaan Mous
05/04/2021, 11:54 AMDeepak Gahlot
05/04/2021, 12:03 PMJulianK
05/04/2021, 1:24 PMFunctions that involve synchronization (Assertions, Actions, Synchronization; e.g. assertIsSelected(), doClick(), runOnIdle()) cannot be run from the main thread. Did you nest such a function inside runOnIdle {}, runOnUiThread {} or setContent {}?
How can i possibly not run my assertions/clicks on the main thread? What did i mess up here?Yuri Drigin
05/04/2021, 1:31 PMnavController.popStackToRoot()
Sivan
05/04/2021, 2:18 PMnitrog42
05/04/2021, 2:38 PMChachako
05/04/2021, 3:11 PMa/b/c
, when go to c
, I should save the location of a
and b
Ahmed Mourad
05/04/2021, 4:48 PMDatePicker
and I'm trying to display all the days of the month, e.g. 1..31
I tried using a column of rows for each month, with the months being displayed in a Pager
, similar to a regular DatePicker
.. However, the performance of it was pretty terrible.
I replaced the rows and columns with a LazyVerticalGrid
, the performance improved significantly, although a stutter could still be seen when moving between pages.
Is anyone else experiencing similar performance problems? I am testing on a middle-end phone, but the old Android DatePicker
and ViewPager
work fine on it.Daniele B
05/04/2021, 5:41 PMmyNav
object, in case both model
and navController
are immutable?
will it get instantiated new at each recomposition?
@Composable
fun Navigation(model : MyModel) {
val appState by model.stateFlow.collectAsState()
...
val navController = rememberNavController()
val myNav = MyNav(model, navController)
...
}
escodro
05/04/2021, 5:54 PMModalBottomSheetLayout
?
Thanks! ❤️Chachako
05/04/2021, 7:28 PMLazyColumn
to the specified item (via the index of the list?) I want it to be displayed immediately, and or to scroll in animationrobnik
05/04/2021, 9:47 PMSe7eN
05/04/2021, 9:58 PMdewildte
05/05/2021, 2:42 AMNathan Castlehow
05/05/2021, 4:18 AMcarbaj0
05/05/2021, 5:45 AMste
05/05/2021, 8:12 AMCanvas
+ drawPath
. Is there a legit way to optimize the whole thing? My idea was to save the `Path`(s) using staticCompositionLocalOf
. More in threadOrhan Tozan
05/05/2021, 10:55 AMSamir Basnet
05/05/2021, 11:11 AMLucien Guimaraes
05/05/2021, 11:26 AMScaffold
with a BottomNavigation
, in one of the screen I have a view that can display a ModalBottomSheetLayout
. How to display the bottomsheet on top of the BottomNavigation
? Even if the default elevation of bottomSheet > bottomNavigation, it's not displaying on top of it.Slackbot
05/05/2021, 11:33 AMSlackbot
05/05/2021, 11:33 AMjulioromano
05/05/2021, 11:40 AMFelipe Passos
05/05/2021, 11:41 AM