Thread
#compose
    Akram Bensalem

    Akram Bensalem

    1 year ago
    How to detect when the user rise one finger and left the other one in Jetpack compose ?
    f

    frankelot

    1 year ago
    I think you can use:
    Modifier.pointerInteropFilter { motionEvent ->  
        when (motionEvent.action) {
            MotionEvent.ACTION_DOWN -> {}
            MotionEvent.ACTION_MOVE -> {}
            MotionEvent.ACTION_UP -> {}
            else ->  false
        }
         true
    }
    the rest is pretty similar to what we did before compose