luckybilly / luckybilly/SmartSwipe
在Dialog弹出一瞬间侧滑返回,会闪屏
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 2.1k
- Forks
- 257
- PR merge metrics
- No merged PRs in 30d
Description
### 问题描述
请描述您遇到的问题
仿微信效果的侧滑返回方式,在Dialog.show()方法调后,立即侧滑,屏幕会花屏。这个问题在SwipeBackHelper库也存在。
### 出问题的代码
SmartSwipeBack.activitySlidingBack(this, new ActivitySwipeBackFilter() {
@Override
public boolean onFilter(Activity activity) {
return true;
}
});
```java
```
### 当前使用的SmartSwipe版本号:1.0.8
### 如何复现?(如果能在demo中复现将有利于作者尽快修复问题)
在Dialog.show()方法调后,还未真正弹出之前,立即侧滑
### 截图或gif
(提交issue前请删除本行文字)有时候,一图胜千言,为了更高效的沟通,请将您认为有助于说明问题的截图或者gif图片贴在此处吧!

>>>>>>>>>>>>>> 提交issue前请删除以下内容 <<<<<<<<<<<<<<<
=========== 小贴士 ============
将图片贴到issue中有以下几种方式:
1. 复制图片后,在issue文本输入框中Ctrl + V (mac: command + V)粘贴,github会自动上传图片并添加为其markdown格式
2. 从文件夹中拖动图片到issue的文本输入框中,效果同上
3. 如果是一个在线图片,可在issue输入框中输入图片地址,markdown格式为: 
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with SmartSwipeBack.activitySlidingBack and the ActivitySwipeBackFilter example, then reproduce the issue by calling Dialog.show() and immediately performing the swipe-back gesture. Trace the interaction between dialog presentation and swipe-back rendering; done means the screen no longer flashes or becomes corrupted during that timing window.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100