安卓手机用bindtouch相关事件处理左右滑动出现卡顿
发布于 5 年前 作者 pingxia 6305 次浏览 来自 问答

1: bindtouchstart=“handletouchtart”

2: bindtouchmove=“handletouchmove”

3: bindtouchend=“handletouchend”

处理左右切换滑动页面时,android出现卡顿,随着滑动次数增加出现了卡死现象

以下为代码截图:

其中source为长度为130左右的较大对象数组。每次切换将source存入list并渲染。尤其快速切换就卡死,模拟器和苹果机正常。

1 回复

楼主有解决方案吗

回到顶部