Florian
12/10/2021, 11:33 AMZoltan Demant
12/10/2021, 11:52 AMAnkit Shah
12/10/2021, 12:00 PMAndreas Haglund
12/10/2021, 12:14 PMjava.lang.IllegalStateException: Place was called on a node which was placed already
What does that mean and how can I fix this?mattinger
12/10/2021, 1:52 PMonDismissRequest
parameter. However, that seems to be missing from the navComponent.Lilly
12/10/2021, 1:55 PMDialog
but something more low level, simply a screen that overlays another screenTijs Gobbens
12/10/2021, 2:50 PMHorizontalPager
from the accompanist library with a content padding , but when swiping to the last item/page and do a "fast" swipe the previous items seems to disappear, this only seems to happen with a fast swipe move (maybe some overshoot swing animation?)
``````Nthily
12/10/2021, 5:38 PMScaffold
?Chris Fillmore
12/10/2021, 6:04 PMspierce7
12/10/2021, 7:21 PMcolintheshots
12/10/2021, 8:06 PMColton Idle
12/10/2021, 8:37 PMbrabo-hi
12/11/2021, 1:54 AMakka persistence durable state query
what is the best way to store offset and to always start reading states from the latest offset
storednilTheDev
12/11/2021, 7:16 AMviewModel
scoped to a navigation destination than using hiltViewModel
?iamthevoid
12/11/2021, 7:26 AMArpan Sarkar
12/11/2021, 6:56 PMd.medina
12/11/2021, 7:20 PMtrevjones
12/12/2021, 3:44 AMYASAN
12/12/2021, 9:19 AMpager
+ pager-indicator
accompanist libraries. The issue is that each page has a different size and it is making the interactions a bit weird.
I have a short (in height) page first but the height matches the largest one which makes the content look out of place. If I put the same page AFTER the largest tab, the size is ok. Video in 🧵Tgo1014
12/12/2021, 12:21 PMNthily
12/12/2021, 2:21 PMMarcin Wisniowski
12/12/2021, 2:56 PMNikola Drljaca
12/12/2021, 6:33 PMMaterialTransition
breaks when a ComposeView
gets integrated into a Fragments XML layout? I have a few fragments using transitions and if I change a piece of the XML layout to use a ComposeView the transitions no longer run.Libor Bicanovsky
12/13/2021, 12:00 AMText
should be displayed but it isn't - as soon as I replace the elvis operator with an if
statement then the second text is rendered correctlyjannis
12/13/2021, 9:22 AMZoltan Demant
12/13/2021, 9:43 AMModifier.onSizeChanged
(in other words, without causing an additional recomposition for the entire screen)? Is this even possible? 🤷♂️🏽Bhavna Thacker
12/13/2021, 11:56 AMFilip Wiesner
12/13/2021, 12:02 PMrsktash
12/13/2021, 2:51 PMZoltan Demant
12/13/2021, 5:50 PMZoltan Demant
12/13/2021, 5:50 PMCasey Brooks
12/13/2021, 5:52 PMrememberCoroutineScope()
? That scope by default runs on Dispatchers.Main.immediate
, so any long-running work on it would block UI rendering and event dispatching, and it should be moved to another dispatcherZoltan Demant
12/13/2021, 6:21 PMDispatchers.Default/IO
(and I just verified thats the case).Rick Regan
12/14/2021, 1:59 AMCrossfade
on Android 12, though that doesn't sound like it's related to your problem: https://issuetracker.google.com/u/1/issues/207107680Zoltan Demant
12/14/2021, 5:35 AMCrossfade
a lot. Is this local to Crossfade
only, or does a similar thing happen with AnimatedContent
for you as well?Rick Regan
12/14/2021, 12:04 PMCrossfade
is the only animation I (explicitly) use.Zoltan Demant
12/14/2021, 12:15 PMAnimatedContent
, so thats a good sign! Thank you so much for bringing this to my attention. Im still seeing some lag on Android 12, but I think thats internal components using the broken animations, likely the same thing that Crossfade
uses.Rick Regan
12/14/2021, 12:31 PMAnimatedContent
?Zoltan Demant
12/14/2021, 12:34 PMRick Regan
12/14/2021, 12:35 PMZoltan Demant
12/14/2021, 12:43 PMRick Regan
12/14/2021, 1:12 PMCrossfade
. (Although the doc page I am looking at calls it "experimental".) I will try it out.Zoltan Demant
12/14/2021, 1:23 PMCrossfade
like an AnimatedContent
that just uses fadeIn
and fadeOut
.Rick Regan
12/14/2021, 1:49 PMAnimatedContent
made the example in my issue much slower (both API 31 and 30). Although, I'm not 100% sure I'm comparing them correctly (for Crossfade
I used animationSpec = tween(10)
and for AnimatedContent
I used
transitionSpec = {
fadeIn(animationSpec = tween(5)) with
fadeOut(animationSpec = tween(5))
},
(the low tween
times was just to factor that out of the issue.)Zoltan Demant
12/14/2021, 2:25 PMText
? Ive noticed that buttons do something when animating their enabled/disabled state, Im curious if something in there is related to this as well.Rick Regan
12/14/2021, 2:44 PMCrossfade
and AnimatedContent
, with AnimatedContent
still slower).Zoltan Demant
12/14/2021, 3:18 PMRick Regan
12/14/2021, 3:54 PMCrossfade
version I had, yes, and I saw it there too.Doris Liu
12/14/2021, 10:12 PMAnimatedContent
with
slideIntoContainer(AnimatedContentScope.SlideDirection.Left) with slideOutOfContainer(AnimatedContentScope.SlideDirection.Left)
instead of fade? That might help narrow down the issue here.Rick Regan
12/14/2021, 11:44 PM