Results 3 comments of Rajesh

``` boolean consumeTouch = false; if (action == MotionEvent.ACTION_DOWN) { touchY = ev.getY(); } else if (action == MotionEvent.ACTION_UP) { consumeTouch = Math.abs(touchY - ev.getY()) > 0; } if (consumeTouch)...

BeanstalkD ++

+1 This will call on finish. ``` rangebar.setOnTouchListener(new View.OnTouchListener() { @Override public boolean onTouch(View v, MotionEvent event) { if (event.getAction() == MotionEvent.ACTION_UP) { //Your Code } return false; } });...