WgtScroll.java 文件源码

java
阅读 24 收藏 0 点赞 0 评论 0

项目:fullmetalgalaxy 作者:
@Override
public void onTouchMove(TouchMoveEvent p_event)
{
  Touch touch = getTouch(p_event.getChangedTouches(), m_currentTouchEventId);
  if (touch != null) {
    if (p_event.getTouches().length() < 2) {
      // A single finger touch shouldn't be propagated upwards.
      // This prevents iOS 'bounce-scroll' to happen
      p_event.preventDefault();
    }
    onMove(Element.as(touch.getTarget()), touch.getClientX(), touch.getClientY());
  }
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号