luckybilly / luckybilly/SmartSwipe
侧滑返回在google 华为p10上遇到了问题
- Dominant language
- Java
- Stars
- 2.1k
- Forks
- 257
- PR merge metrics
- No merged PRs in 30d
Description
### 问题描述
在这两款手机滑动返回时,第一次滑动的时候然后松手取消滑动,这时再进行滑动返回操作时会没有任何动画效果. 但是这时是可以滑动返回的,就是没有界面效果.
在小米9 锤子手机上测试没问题
### 出问题的代码
```
SmartSwipeBack.activitySlidingBack(this, activity ->
!(activity instanceof MainActivity) && !(activity instanceof VideoActivityFactory)
&& !(activity instanceof SplashActivity) && !(activity instanceof Login2Activity));
```
### 当前使用的SmartSwipe版本号:
**implementation 'com.billy.android:smart-swipe:1.0.7'**
### 截图或gif
https://s31.aconvert.com/convert/p3r68-cdx67/e0zvc-fqph0.gif
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at SmartSwipeBack.activitySlidingBack and reproduce the cancelled-then-restarted gesture on the Google and Huawei P10 devices described. Compare it with the working behavior on Xiaomi 9 and Smart users of version 1.0.7; done means the second swipe has its animation while preserving the back action.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100