I have a Frame layout, and I wanted to put an OnTouchListener, it works correctly but I do not understand why I get this notice.
Thank you.
I think you should overwrite the performClick () method because you do not try to put your switch in this
@Override
public boolean performClick(View view, MotionEvent event){
switch(){...}
return true;
}
or use onTouch ()
@override
public boolean onTouch(View view, MotionEvent event) {
switch(){...}
return true;
}