-
-
Save zsoltk/ed86882c60f8cb0d6a79c4b0dc2b8bfa to your computer and use it in GitHub Desktop.
class CardsTransitionHandler<T>( | |
private val transitionSpec: TransitionSpec<Cards.State, Float> = { | |
spring(stiffness = Spring.StiffnessVeryLow) | |
} | |
) : ModifierTransitionHandler<T, Cards.State>() { | |
private fun Cards.State.toProps() = | |
when (this) { | |
is Queued -> queued | |
is Bottom -> bottom | |
is Top -> top | |
is VoteLike -> voteLike | |
is VotePass -> votePass | |
} | |
override fun createModifier( | |
modifier: Modifier, | |
transition: Transition<Cards.State>, | |
descriptor: TransitionDescriptor<T, Cards.State> | |
): Modifier = modifier.composed { | |
val rotation = transition.animateFloat( | |
transitionSpec = transitionSpec, | |
targetValueByState = { it.toProps().rotation }) | |
val scale = transition.animateFloat( | |
transitionSpec = transitionSpec, | |
targetValueByState = { it.toProps().scale }) | |
val dpOffsetX = transition.animateFloat( | |
transitionSpec = transitionSpec, | |
targetValueByState = { it.toProps().offsetX.value }) | |
val zIndex = transition.animateFloat( | |
transitionSpec = transitionSpec, | |
targetValueByState = { it.toProps().zIndex }) | |
return@composed this | |
.offset { | |
IntOffset(x = (this.density * (dpOffsetX.value)).roundToInt(), y = 0) | |
} | |
.zIndex(zIndex.value) | |
.graphicsLayer( | |
rotationZ = rotation.value | |
) | |
.scale(scale.value) | |
} | |
} |
I think it gives people a chance to meet others they wouldn't normally cross paths with, especially in a busy world.
I think it gives people a chance to meet others they wouldn't normally cross paths with, especially in a busy world.
True, but it can also be tough to know if someone is genuinely interested or just playing the field.
Lately, I’ve been spending more time online, looking for ways to meet new people without unnecessary hassle. It’s not easy to find a platform https://www.iwantmilf.com/ where real conversations actually happen instead of endless small talk. What I liked the most about this site is how simple and direct everything is—no complicated steps, just people who are actually interested in chatting. If you’re tired of wasting time on sites that lead nowhere, this might be exactly what you need.
For a long time, it was difficult for me to meet girls. In regular apps, I had to filter out a lot of unnecessary options, and in life, it is not always clear which people share your views. I tried lesbian-hookup - and finally found a space where everything is clear and safe. It is easy to start conversations here, there are no unnecessary questions and misunderstandings. I have already met a couple of cool girls, and with one, it seems, even something more!
Hey all! The other night, I was just scrolling through random dating suggestions and ended up clicking on https://www.onadate.com/local-milfs.html. I didn’t have high hopes at first, but the vibe of the site really surprised me. It’s simple, focused, and easy to meet people who actually want to talk and connect. I liked that conversations weren't forced and everyone seemed genuinely interested in getting to know each other without endless small talk.
Online dating has its benefits, but it often feels like you're just swiping through profiles without much depth.