79404801

Date: 2025-02-01 10:39:07
Score: 1
Natty:
Report link

A workaround that's not yet listed here is OnTouchListener:

(Kotlin)

spinner.setOnTouchListener { _, event ->
    if(event.action == MotionEvent.ACTION_DOWN) {
        doSomething()
    }
    true //consume event
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Michael Schär