Skip to content

Can't add dispatchTouchEvent in Adapter. #12

Description

@Achisyg

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:
Capture
How can I solve the problem and also add @NonNull ViewHolder holder as it is in the onBindViewHolder of my adapter?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions