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
当滑动动画播放时立即按返回键会直接显示空白 #24
Comments
恩,这种情况确实很特殊,可以考虑动画进行过程中先禁止点击的返回, |
这个滑动的监听怎么获取 |
目前还没有暴露滑动距离的接口,下版本再修改一下 |
其实具体情况是这一页--> 上一页 --> 白屏,是因为在动画未播放完毕之前,按下返回键触发了Activity的 |
还有一种情况会造成白屏, 触发onBackpress( ) 之后快速劫持 dispatchTouchEvent 事件, 会造成Precontent 被移除, 然后事件被消费, 但是preContentView 没有release , 比较笨的办法就是finishSwipeImmediately 方法中 判断下 try { |
可以使用 try catch尝试,目前遇到一个瓶颈就是无法在webview中进行滑动,所以暂时没有继续维护了 |
滑动动画还没有播放完毕的时候,点击返回键页面就变空白了
The text was updated successfully, but these errors were encountered: