Skip to content

Tag: android-jetpack-compose

In Android Jetpack compose how to achieve GestureDetector.SimpleOnGestureListener…..?

I want to observe onFling Function to detect Velocityx and Velocity Means Swiping force/Velocity. In android we attach this to the android view.But donot find a way how to call this in Jetpack compose or alternative function for this in jetpack compose…? Answer Please take the Animation-in-Compose codelab to understand better, but for now, here’s how you can achieve something