Sochron
Sochron
just add this OnTouchListener in your spinner. private long mLastClickTime = 0; searchablespinner.setOnTouchListener((v, event) -> { if (SystemClock.elapsedRealtime() - mLastClickTime < 1000){ return false; } mLastClickTime = SystemClock.elapsedRealtime();; event.setAction(MotionEvent.ACTION_UP); searchablespinner.onTouch(v,event);...
just add this OnTouchListener in your spinner. private long mLastClickTime = 0; searchablespinner.setOnTouchListener((v, event) -> { if (SystemClock.elapsedRealtime() - mLastClickTime < 1000){ return false; } mLastClickTime = SystemClock.elapsedRealtime();; event.setAction(MotionEvent.ACTION_UP); searchablespinner.onTouch(v,event);...