Hello, I am trying to add in my Adapter the following code:
@Override
public boolean dispatchTouchEvent(MotionEvent ev) {
return ZoomHelper.Companion.getInstance().dispatchTouchEvent(ev,this) || super.dispatchTouchEvent(ev);
}
But the problem is that it shows up this problem:

How can I solve the problem and also add @NonNull ViewHolder holder as it is in the onBindViewHolder of my adapter?
Hello, I am trying to add in my Adapter the following code:
But the problem is that it shows up this problem:

How can I solve the problem and also add
@NonNull ViewHolder holderas it is in the onBindViewHolder of my adapter?