Skip to content

scrollview 的子view 设置了onClick 事件之后无法滑动的问题 #18

Description

@1212300114

目前我给你的XScrollView添加了如下 event 拦截解决了问题
@OverRide
public boolean onInterceptTouchEvent(MotionEvent ev) {
return ev.getAction() == MotionEvent.ACTION_MOVE || super.onInterceptTouchEvent(ev);
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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