SwipeView类似桌面的滑动界面(11)
来源:未知 责任编辑:责任编辑 发表时间:2013-12-06 08:44 点击:次
//need to call the actionUp directly so the view is not left between pages.
actionUp(event);
}
return true;
}
}
if(mSendingDummyMotionEvent)//if sending the fake action down event (to do with vertical scrolling within this horizontalscrollview) then just ignore it
{
mSendingDummyMotionEvent = false;
return false;
}
switch(event.getAction())
{
case MotionEvent.ACTION_DOWN :
return actionDown(event);
case MotionEvent.ACTION_MOVE :
return actionMove(event);
case MotionEvent.ACTION_UP :
return actionUp(event);
}
return false;
最新推荐更多>>>
- 发表评论
-
- 最新评论 更多>>