-
-
mSwipeBackLayout.setEdgeTrackingEnabled(SwipeBackLayout.EDGE_TOP);
在这个项目中发现有public static final int EDGE_TOP = 1
-
### 运行环境 ###
设备型号:`XiaoMi 4C`
设备系统版本: `Android 9.0`
Gradle 版本:`5.6.0`
QMUI Android 版本:
//QMUI ui库
implementation 'com.qmuiteam:qmui:1.4.0'
implementation 'com.qmuiteam:arch:0.6.1'
…
-
```
public class ViewPagerActivity extends SwipeBackActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setCont…
-
java.lang.StackOverflowError
at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:5745)
at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java:5751)
at android.vi…
-
java.lang.IllegalArgumentException: pointerIndex out of range pointerIndex=-1 pointerCount=1
at android.view.MotionEvent.nativeGetAxisValue(Native Method)
at android.view.MotionEvent.getX(MotionEv…
-
闪烁还比较严重
-
SwipeBackLayout 这个类在QMUI已经更新啦。我安卓的还是用的老代码。
edge_size边界内滑动 背景Activity是纯黑色,而不是代码的:
mActivity.getWindow().setBackgroundDrawable(new ColorDrawable(Color.TRANSPARENT));
只有当被滑动的Activity完全finish 才会显示目标Act…
-
this npe is just like this below:
STACK_TRACE=java.lang.NullPointerException: Attempt to read from null array
at me.imid.swipebacklayout.lib.ViewDragHelper.shouldInterceptTouchEvent(ViewDragHelpe…
-
在部分sdk上设置android:windowIsTranslucent会导致crash,具体见https://zhuanlan.zhihu.com/p/32190223,swipebacklayout 作者有写一个利用反射兼容android:windowIsTranslucen的[工具](https://github.com/ikew0ng/SwipeBackLayout/blob/e4ddae…