Marno

Results 7 comments of Marno

在 checkCanDoRefresh方法中添加 return mListView.getFirstVisiblePosition() == 0 ? true : false;

这里面有解决方法[【一起学】React Native踩坑大全(17.2.13更新)](https://gold.xitu.io/post/58a18a701b69e60059d58ab5)

需要先申请权限,再跳转扫码,否则会因为权限不足报错。你自己加个 react-native-permissions 库判断下应该就好了。

demo 里还没写。在退出之前,你尝试下先吧focus状态改为false,然后再退出,应该就不会卡了 ``` function onPageFocus() { setIsFocusedScreen( true ); } function onPageBlur() { setIsFocusedScreen( false ); } ```

报错信息也贴一下呢

You can modify source code like this ![image](https://user-images.githubusercontent.com/14787921/102316328-b184da80-3fb0-11eb-907f-13f1c8ff36bd.png) ``` for (int i = 0; i < lines; ++i) { var multiLineKey = i == 0 ? "$key: " : "";...

> > @e-e I'm doing the same thing. > > I'm solving this by wrapping the non movable widgets in: > > ``` > > GestureDetector( > > onLongPress: ()...