Open javedk16 opened 9 years ago
+1
搜索一下的代码,就可以有点击事件。 Search for the following code, and you will be able to have click events.
if (!mScroller.isFinished() && mScroller.computeScrollOffset()) {
setFlipDistance(mScroller.getCurrY());
// 在这里移除其他页面,这样就可以添加监听
// Remove other pages here so that you can add the listener.
hideOtherPages(mCurrentPage);
}
How to set onclick listener