android onTouch Listener instead of onClick

android onTouch Listener instead of onClick
myButton.setOnTouchListener(new OnTouchListener() {
    @Override
    public boolean onTouch(View v, MotionEvent event) {
        if(event.getAction() == MotionEvent.ACTION_UP){
			
            return true;
        }
        return false;
    }
});
Source‮.www:‬lautturi.com
Created Time:2017-10-05 14:10:37  Author:lautturi