When the refresh component under weex scroll frequently pull down to refresh under android, it sometimes gets stuck.

  android, question

When the refresh component under weex scroll frequently pull down to refresh under android, it sometimes gets stuck, and the refresh component will not be hidden. After checking, the display return value of the Refresh component is correct, display=’false’, but the component is not hidden.
When debugging with weex debug, there is no error in reporting this problem.

This problem was tested with weex’s android tool, and the problem recurred.

The mobile phone uses Xiaomi Mi 3 and android version is 6.0.1

图片描述

图片描述

Modify weexSdk on Android
Specifically modify the two methods in the WXSwipeLayout class:
The if (mcURRENTACTION = = PULL _ REFRESH) and if (mCurrentAction == LOAD_MORE) conditions are commented in finishPullRefresh () and finishPullLoad ()
I hope I can help you.