Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

当列表滑动到一定的的位置时候,代码无法运行下去 #2

Open
JamesLebron opened this issue Apr 3, 2018 · 1 comment

Comments

@JamesLebron
Copy link

screenshot_2018-03-30-16-07-06-1907961274
当滑动到这种区域(手只显示一点点的时候)的时候,代码无法继续执行,我尝试着修改swipe的距离,可是还是会出现滑动到一定位置的时候,代码无法继续执行,请问有解决办法吗?比如修改收取图片的大小?
image

@start201711
Copy link
Owner

好吧,这个问题可能是点击了屏幕,但是由于计算出来的坐标超出屏幕范围,所以没有被响应。

把dh赋值成dh=temp.getHeight()*0.8应该没问题了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants