小飞鱼
小飞鱼
  • 发布:2015-06-27 14:12
  • 更新:2015-06-27 14:12
  • 阅读:3011

在android手机上下拉刷新,返回按钮出现闪退现象

分类:HTML5+
App

使用打开子页面的方式做了一个列表下拉刷新的
倘若数据还没有刷出来,点击返回按钮的话,会出现闪退的情况

查看手机上的日志
13:48:52.941 D - webview completeLoadJs tag=onPageFinished url=file:///storage/emulated/0/Android/data/io.dcloud.HBuilder/.HBuilder/apps/HBuilder/www/contact/contact_list_panel.html?degree=1
13:48:52.946 D - ReceiveJSValue jscallnative js=["number",1]
13:48:52.949 D - webview completeLoadJs tag=onPageFinished url=file:///storage/emulated/0/Android/data/io.dcloud.HBuilder/.HBuilder/apps/HBuilder/www/contact/contact_list_panel.html?degree=1
13:48:53.160 I - console [LOG] getContactList: at js/plus/contact.js:135
13:48:53.162 I - console [LOG] requestbypage start at js/plus/base.js:209
13:48:53.180 I - webview onLoadResource url=http://192.168.1.10:8880/contacts/getdegreelist
13:48:53.182 I - console [LOG] refreshlist start: at js/plus/contact.js:171
13:48:53.257 D - View_Visible_Path refreshLoadingViewsSize setPullToRefresh args=[{"contentover":{"caption":"释放立即刷新"},"contentrefresh":{"caption":"正在刷新..."},"contentdown":{"caption":"下拉可以刷新"},"height":"50px","support":true,"range":"200px"},"plus31435384133198"]
13:48:53.261 D - RefreshView height=150;range=600;contentdown=null
13:48:53.264 D - View_Visible_Path AdaWebViewParent.initPullView changeStateHeight=150
13:48:53.266 I - console [LOG] 获取人脉列表失败 at js/plus/contact.js:143
13:48:53.271 D - View_Visible_Path PullToRefreshBase.refreshLoadingViewsSize mHeaderHeight=150;headerHeight=0
13:48:53.274 D - View_Visible_Path AdaFrameView.paint mRefreshView paint<UUID=NWindow11435384132600>;<url=contact/contact_list_panel.html?degree=1>;<hashcode=1120319048>
13:49:56.231 D - Main_Path_Main_App onSaveInstanceState
13:49:56.234 D - Main_Path_Main_App onPause appid=Main_App
13:49:56.236 I - DCloud_LOG onPause
13:49:56.240 D - miniserver close serversocket port=13131
13:49:56.248 D - miniserver Exception stop mPort=13131;socket=null;java.net.SocketException: Socket closed;
13:53:40.686 D - Main_Path_Main_App onResume appid=Main_App
13:53:40.693 I - DCloud_LOG onResume resumeTime=1435384420693
13:53:40.701 D - miniserver 13131 serversocket running...
13:53:43.642 D - Main_Path_Main_App onSaveInstanceState
13:53:43.644 D - Main_Path_Main_App onPause appid=Main_App
13:53:43.647 I - DCloud_LOG onPause
13:53:43.650 D - miniserver close serversocket port=13131
13:53:43.656 D - miniserver Exception stop mPort=13131;socket=null;java.net.SocketException: Socket closed;

2015-06-27 14:12 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复