If you want to clear the onClick imageView listener. Just call
myImageView.setOnClickListener(null);
Hope this helps.
Update: The "advantage" (depending on what you need) setOnClickListener is null, so it will not change the background of the button, as in setClickable (false) or setEnabled (false).
Because the button wants to show the user if he is on (false) or setClickable (false).
If you do not want this, just use my answer. :) I hope this helps and gives the direction of what you want
source share