Some are calling it the fireworks before the 4th of July fireworks. You'll just have to come see for yourself!
The next TC Hack is this Wednesday (7/3). Cruise into your holiday with great company, cold libations, and hot pizza. See you there! #Meetup
https://t.co/D8bH0xMI5I
Special TC Hack collab this month! We're teaming up with @TCKotlin to host a watch party of the Kotlin Multiplatform Global Event, which is celebrating KMP transitioning from Beta to Stable!
This Wed night at Smart Factory from 6-8pm. Sign up link in thread. #kotlin#meetup
@doris4lt@riggaroo We want to return to the original screen and have it already be in the loading state...we don't want to see the transition from the previous content. But we also then want to smoothly transition from the loading screen to the new content.
@doris4lt@riggaroo I've had a variety of reasons to conditionally skip transitions over the years, but the most immediate use case I have is to avoid a crossfade between loading and content states. This tends to be when we are temporarily covering the content with a screen that triggers a reload.
@doris4lt@riggaroo OK I tried this out and it introduces different kinds of artifacts. The gist of what I tried was
contentKey = { if (shouldAnimateChanges) it else targetState }
to force the same key but this basically just removed the initial state and still performed the animation.
@doris4lt@riggaroo I can look into that. But it really depends how that key is used and stored. The issue is not that we want states A and B to always ignore transitions...its that we want state's A and B to *sometimes* ignore transitions based on external factors unrelated to their actual values.
@doris4lt@riggaroo If we try to use a 0-duration AnimationSpec passed to Crossfade to achieve this, we get a bug where we see the old state for one-frame too long.
@doris4lt@riggaroo We have some use cases where we are using a Crossfade as normal but also need to occasionally completely skip that animation in order to jump directly to a new state. But we also want that next state to be able to crossfade to the next state if necessary.
It’s a big day today for us @livefront! It’s @NelsPederson’s first day and we’re so excited to have him as part of our team in our new Partnerships role! Welcome to Livefront, Nels!!!