I'm overriding some functions of the GestureDetector, and I detect a long press and would like to also detect once it's released, but I haven't found the function for. Actually the only function I found for releasing the tap is onSingleTapUp. Is it possible to detect when a long press is released?
My code:
class GestureListener (val position: Int) : GestureDetector.SimpleOnGestureListener() {
override fun onLongPress(e: MotionEvent?) {
// Do something here
super.onLongPress(e)
}