From a975cef18690c7f77a513054363e306a5a9fe519 Mon Sep 17 00:00:00 2001 From: WinUser01 Date: Mon, 16 May 2022 15:55:11 +0800 Subject: [PATCH 1/5] =?UTF-8?q?hyzp=5Fybqx-Commit165=EF=BC=9A=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E5=8F=B7=E6=9B=B4=E6=96=B0=E4=B8=BAversion:=201.5.1+2?= =?UTF-8?q?0220517=E3=80=82=E5=B7=B2=E7=BB=8F=E5=BC=80=E5=A7=8B=E9=80=82?= =?UTF-8?q?=E9=85=8DIOS=E7=89=88App=E3=80=82=E5=B7=B2=E7=BB=8F=E9=80=82?= =?UTF-8?q?=E9=85=8D=E5=8F=99=E5=B7=9E=E5=8C=BA=E7=9A=84=E7=82=B9=E4=BD=8D?= =?UTF-8?q?=E5=9C=B0=E5=9B=BE=E4=B8=AD=E5=BF=83=E4=BD=8D=E7=BD=AE=E5=92=8C?= =?UTF-8?q?=E7=89=88=E6=9D=83=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- android/app/release/output.json | 2 +- lib/components/UserInfo.dart | 8 ++++++++ pubspec.yaml | 3 ++- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/android/app/release/output.json b/android/app/release/output.json index 215018e..0eda983 100644 --- a/android/app/release/output.json +++ b/android/app/release/output.json @@ -1 +1 @@ -[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":20220515,"versionName":"1.4.33","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release"},"path":"app-release.apk","properties":{}}] \ No newline at end of file +[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":20220517,"versionName":"1.5.1","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release"},"path":"app-release.apk","properties":{}}] \ No newline at end of file diff --git a/lib/components/UserInfo.dart b/lib/components/UserInfo.dart index 3f546a2..40086d6 100644 --- a/lib/components/UserInfo.dart +++ b/lib/components/UserInfo.dart @@ -96,6 +96,14 @@ class UserInfo { center_latitude = 28.829484824941034; // 区县中心纬度 center_longitude = 104.9676905045844; // 区县中心经度 break; + case 511504: // 叙州区 + copyright_info = '© ' + qx_name_long + '生态环境局 四川省踏石科技版权所有' + service_tel; + copyright_info_PinYin = 'YIBIN XUZHOU BLACK SMOKE CAR CAPTURE SYSTEM'; + // 中心位置:点击底图空白处响应:coordinate = {latitude: 28.72865142049528, longitude: 104.5638752288174} + center_latitude = 28.72865142049528; // 区县中心纬度 + center_longitude = 104.5638752288174; // 区县中心经度 + g_zoomLevel = g_zoomLevel_default = 13; //地图默认缩放倍数 + break; case 511530: // 三江新区 qx_name_long = '宜宾' + qx_name; copyright_info = '© ' + qx_name_long + '城乡融合发展局 四川省踏石科技\n版权所有,' + service_tel.substring(1); diff --git a/pubspec.yaml b/pubspec.yaml index 8f8fd9c..0f786c6 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -71,7 +71,8 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev #version: 1.4.30+20220504 #version: 1.4.31+20220506 #version: 1.4.32+20220511 -version: 1.4.33+20220515 +#version: 1.4.33+20220515 +version: 1.5.1+20220517 environment: sdk: ">=2.7.0 <3.0.0" From 8150e6e51737e07a25d046be9b6e0593886d653e Mon Sep 17 00:00:00 2001 From: WinUser01 Date: Wed, 25 May 2022 23:13:28 +0800 Subject: [PATCH 2/5] =?UTF-8?q?hyzp=5Fybqx-Commit166=EF=BC=9A=E8=A7=A3?= =?UTF-8?q?=E5=86=B3=E5=9C=A8=E5=AE=A1=E6=A0=B8=E9=A1=B5=E9=9D=A2hysh=5Fco?= =?UTF-8?q?ntent=5Fnew.dart=EF=BC=8C=E5=BD=93=E5=9B=BE=E7=89=87=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E7=BC=A9=E6=94=BE=E5=90=8E=EF=BC=8C=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E6=96=87=E6=9C=AC=E8=BE=93=E5=85=A5=E6=A1=86=E8=BD=AF=E9=94=AE?= =?UTF-8?q?=E7=9B=98=E5=BC=B9=E8=B5=B7=E9=81=AE=E6=8C=A1=E6=96=87=E6=9C=AC?= =?UTF-8?q?=E8=BE=93=E5=85=A5=E6=A1=86=E7=BB=84=E4=BB=B6=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit // 若 scrollPhysics0 赋值为 PageScrollPhysics(),图片组件缩放后,点击文本输入框软键盘弹起会遮挡文本输入框组件 // 将 scrollPhysics0 赋值为 AlwaysScrollableScrollPhysics(),问题解决 ScrollPhysics scrollPhysics0 = AlwaysScrollableScrollPhysics(); --- lib/pages/Works/HYSH/hysh_content_new.dart | 142 +++++++++++---------- 1 file changed, 76 insertions(+), 66 deletions(-) diff --git a/lib/pages/Works/HYSH/hysh_content_new.dart b/lib/pages/Works/HYSH/hysh_content_new.dart index be89348..a9a1bc2 100644 --- a/lib/pages/Works/HYSH/hysh_content_new.dart +++ b/lib/pages/Works/HYSH/hysh_content_new.dart @@ -596,6 +596,11 @@ class _HyshPageState extends State with SingleTickerProviderStat // 使用自定义 my_flutter_drag_scale 插件,完美解决Listview滚动与图片缩放拖动之间的手势冲突,不会消耗点击事件,滚动很灵敏 ScrollPhysics scrollPhysics; + + // 若 scrollPhysics0 赋值为 PageScrollPhysics(),图片组件缩放后,点击文本输入框软键盘弹起会遮挡文本输入框组件 + // 将 scrollPhysics0 赋值为 AlwaysScrollableScrollPhysics(),问题解决 + ScrollPhysics scrollPhysics0 = AlwaysScrollableScrollPhysics(); + bool bZoomedInit = true; // 图片是否为原样大小 Widget getNetworkImage(String url) { return CachedNetworkImage( @@ -611,13 +616,13 @@ class _HyshPageState extends State with SingleTickerProviderStat scaleChangedCallback: (ScaleChangedModel model) { print("model.scale = ${model.scale}"); bZoomedInit = (1.0 == model.scale); - scrollPhysics = PageScrollPhysics(); + scrollPhysics = scrollPhysics0; setState(() {}); }, pointerDownCallback: () { if (bZoomedInit) { if (scrollPhysics != PageScrollPhysics()) { - scrollPhysics = PageScrollPhysics(); + scrollPhysics = scrollPhysics0; setState(() {}); } } else { @@ -628,7 +633,7 @@ class _HyshPageState extends State with SingleTickerProviderStat } }, pointerUpCallback: () { - scrollPhysics = PageScrollPhysics(); + scrollPhysics = scrollPhysics0; setState(() {}); }, ); @@ -924,70 +929,75 @@ class _HyshPageState extends State with SingleTickerProviderStat ), //: Container(), //type 'Container' is not a subtype of type 'PreferredSizeWidget' - body: listGetZpjl.isNotEmpty - ? TabBarView( - controller: _tabController, - //注意:用TabController实现顶部tab切换,必须添加该行 - physics: NeverScrollableScrollPhysics(), - //必须放到TabBarView下面,禁止TabBarView左右滑动-OK - // children: - // (topTabs_map['listView_List'].isNotEmpty) ? topTabs_map['listView_List'] : [], - - // https://blog.csdn.net/shulianghan/article/details/104953053 - // 集合的生成函数 - // int length 参数 : 集合的长度 - // E generator(int index) : 集合的回调函数 , 调用该函数获取集合的 index 位置的元素 - // List list_generate = List.generate(3, ( index ) => index * 3); - // children: List.generate(3, (index) => Container()), - children: List.generate(topTabs_map['listView_List'].length, (index) { - return ListView( - // physics: NeverScrollableScrollPhysics(), // 允许ListView滚动 - // physics: null, // 允许ListView滚动 - physics: scrollPhysics, - children: [ - Container( - decoration: new BoxDecoration( - color: Color.fromRGBO(244, 244, 244, 1), - ), - child: Column( - children: [ - //1、得到格林曼黑度标准和视频播放按钮组件 - getHdAndPlay(index), - //2、得到违章图片组件 - getWztp(index), - SizedBox(height: ScreenUtil().setHeight(_marginVer)), - //3、得到违章图片说明信息组件 - getWztpSmxx(index), - SizedBox(height: ScreenUtil().setHeight(_marginVer)), - //4、得到黑烟初审结果组件,在复审页面需要 - widget.hyshlx == 'hyfh' ? getHycsResult(index) : SizedBox.shrink(), - //为了用户在切换审核结果Radio时显示不同图片,必须将以下组件都移入到RadioListItems类中 - //5-6、得到黑烟审核组件、审核确认组件 - HyshGroup( - index: index, - hyshlx: hyshlx, - fontSize: _fontSize, - size: Size(_listTileHeight, _listTileHeight), - id: widget.id, - selectedRadio: - hyshlx == 'hyfh' && mapGetHycsShenheData['title'] == "非黑烟车" - ? 1 - : 0, - ), - //为了用户在切换审核结果Radio时显示不同图片,必须将以下组件都移入到RadioListItems类中 - // SizedBox(height: 6), - // Divider(height: 1.0, color: Colors.blue), - // SizedBox(height: 10), - // //9、得到审核确认组件 - // getShqr(index), - ], + body: GestureDetector( + onTap: () { + FocusScope.of(context).requestFocus(FocusNode()); + }, + child: listGetZpjl.isNotEmpty + ? TabBarView( + controller: _tabController, + //注意:用TabController实现顶部tab切换,必须添加该行 + physics: NeverScrollableScrollPhysics(), + //必须放到TabBarView下面,禁止TabBarView左右滑动-OK + // children: + // (topTabs_map['listView_List'].isNotEmpty) ? topTabs_map['listView_List'] : [], + + // https://blog.csdn.net/shulianghan/article/details/104953053 + // 集合的生成函数 + // int length 参数 : 集合的长度 + // E generator(int index) : 集合的回调函数 , 调用该函数获取集合的 index 位置的元素 + // List list_generate = List.generate(3, ( index ) => index * 3); + // children: List.generate(3, (index) => Container()), + children: List.generate(topTabs_map['listView_List'].length, (index) { + return ListView( + // physics: NeverScrollableScrollPhysics(), // 允许ListView滚动 + // physics: null, // 允许ListView滚动 + physics: scrollPhysics, + children: [ + Container( + decoration: new BoxDecoration( + color: Color.fromRGBO(244, 244, 244, 1), + ), + child: Column( + children: [ + //1、得到格林曼黑度标准和视频播放按钮组件 + getHdAndPlay(index), + //2、得到违章图片组件 + getWztp(index), + SizedBox(height: ScreenUtil().setHeight(_marginVer)), + //3、得到违章图片说明信息组件 + getWztpSmxx(index), + SizedBox(height: ScreenUtil().setHeight(_marginVer)), + //4、得到黑烟初审结果组件,在复审页面需要 + widget.hyshlx == 'hyfh' ? getHycsResult(index) : SizedBox.shrink(), + //为了用户在切换审核结果Radio时显示不同图片,必须将以下组件都移入到RadioListItems类中 + //5-6、得到黑烟审核组件、审核确认组件 + HyshGroup( + index: index, + hyshlx: hyshlx, + fontSize: _fontSize, + size: Size(_listTileHeight, _listTileHeight), + id: widget.id, + selectedRadio: + hyshlx == 'hyfh' && mapGetHycsShenheData['title'] == "非黑烟车" + ? 1 + : 0, + ), + //为了用户在切换审核结果Radio时显示不同图片,必须将以下组件都移入到RadioListItems类中 + // SizedBox(height: 6), + // Divider(height: 1.0, color: Colors.blue), + // SizedBox(height: 10), + // //9、得到审核确认组件 + // getShqr(index), + ], + ), ), - ), - ], - ); - }), - ) - : getMoreWidget(color: Colors.black38, size: 20.0, strokeWidth: 2.0), //显示加载中的圈圈 + ], + ); + }), + ) + : getMoreWidget(color: Colors.black38, size: 20.0, strokeWidth: 2.0), //显示加载中的圈圈 + ), ), ), ); From cf64c2e83b3d07fcce629ce3f5d2c84c5cb16b89 Mon Sep 17 00:00:00 2001 From: WinUser01 Date: Wed, 25 May 2022 23:28:13 +0800 Subject: [PATCH 3/5] =?UTF-8?q?hyzp=5Fybqx-Commit167=EF=BC=9A=E8=A7=A3?= =?UTF-8?q?=E5=86=B3=E5=9C=A8=E4=B8=8B=E5=88=97=E9=A1=B5=E9=9D=A2=20hysh?= =?UTF-8?q?=5Fcontent=5Fnew.dart=E3=80=81fhycx=5Fcontent=5Fnew.dart?= =?UTF-8?q?=E3=80=81tsjj=5Fcontent=5Fnew.dart=E3=80=81today=5Flist=5Fzpjl?= =?UTF-8?q?=5Fcontent=5Fnew.dart=20=E4=B8=AD=EF=BC=8C=E5=BD=93=E5=9B=BE?= =?UTF-8?q?=E7=89=87=E7=BB=84=E4=BB=B6=E7=BC=A9=E6=94=BE=E5=90=8E=EF=BC=8C?= =?UTF-8?q?=E7=82=B9=E5=87=BB=E6=96=87=E6=9C=AC=E8=BE=93=E5=85=A5=E6=A1=86?= =?UTF-8?q?=E8=BD=AF=E9=94=AE=E7=9B=98=E5=BC=B9=E8=B5=B7=E9=81=AE=E6=8C=A1?= =?UTF-8?q?=E6=96=87=E6=9C=AC=E8=BE=93=E5=85=A5=E6=A1=86=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 全局搜索“ScrollPhysics scrollPhysics”,需要修改4个文件内容: hysh_content_new.dart 131 fhycx_content_new.dart 137 tsjj_content_new.dart 602 today_list_zpjl_content_new.dart 147 --- lib/pages/Works/HYSH/fhycx_content_new.dart | 11 ++++++++--- lib/pages/Works/HYSH/tsjj_content_new.dart | 11 ++++++++--- lib/pages/Works/TJXX/today_list_zpjl_content_new.dart | 11 ++++++++--- 3 files changed, 24 insertions(+), 9 deletions(-) diff --git a/lib/pages/Works/HYSH/fhycx_content_new.dart b/lib/pages/Works/HYSH/fhycx_content_new.dart index be72fd7..e12befb 100644 --- a/lib/pages/Works/HYSH/fhycx_content_new.dart +++ b/lib/pages/Works/HYSH/fhycx_content_new.dart @@ -135,6 +135,11 @@ class _FhycxPageState extends State { // 使用自定义 my_flutter_drag_scale 插件,完美解决Listview滚动与图片缩放拖动之间的手势冲突,不会消耗点击事件,滚动很灵敏 ScrollPhysics scrollPhysics; + + // 若 scrollPhysics0 赋值为 PageScrollPhysics(),图片组件缩放后,点击文本输入框软键盘弹起会遮挡文本输入框组件 + // 将 scrollPhysics0 赋值为 AlwaysScrollableScrollPhysics(),问题解决 + ScrollPhysics scrollPhysics0 = AlwaysScrollableScrollPhysics(); + bool bZoomedInit = true; // 图片是否为原样大小 Widget getNetworkImage(String url) { return CachedNetworkImage( @@ -150,13 +155,13 @@ class _FhycxPageState extends State { scaleChangedCallback: (ScaleChangedModel model) { print("model.scale = ${model.scale}"); bZoomedInit = (1.0 == model.scale); - scrollPhysics = PageScrollPhysics(); + scrollPhysics = scrollPhysics0; setState(() {}); }, pointerDownCallback: () { if (bZoomedInit) { if (scrollPhysics != PageScrollPhysics()) { - scrollPhysics = PageScrollPhysics(); + scrollPhysics = scrollPhysics0; setState(() {}); } } else { @@ -167,7 +172,7 @@ class _FhycxPageState extends State { } }, pointerUpCallback: () { - scrollPhysics = PageScrollPhysics(); + scrollPhysics = scrollPhysics0; setState(() {}); }, ); diff --git a/lib/pages/Works/HYSH/tsjj_content_new.dart b/lib/pages/Works/HYSH/tsjj_content_new.dart index e35270a..868b669 100644 --- a/lib/pages/Works/HYSH/tsjj_content_new.dart +++ b/lib/pages/Works/HYSH/tsjj_content_new.dart @@ -145,6 +145,11 @@ class _LoginPageState extends State with SingleTickerProviderSta // 使用自定义 my_flutter_drag_scale 插件,完美解决Listview滚动与图片缩放拖动之间的手势冲突,不会消耗点击事件,滚动很灵敏 ScrollPhysics scrollPhysics; + + // 若 scrollPhysics0 赋值为 PageScrollPhysics(),图片组件缩放后,点击文本输入框软键盘弹起会遮挡文本输入框组件 + // 将 scrollPhysics0 赋值为 AlwaysScrollableScrollPhysics(),问题解决 + ScrollPhysics scrollPhysics0 = AlwaysScrollableScrollPhysics(); + bool bZoomedInit = true; // 图片是否为原样大小 Widget getNetworkImage(String url) { return CachedNetworkImage( @@ -160,13 +165,13 @@ class _LoginPageState extends State with SingleTickerProviderSta scaleChangedCallback: (ScaleChangedModel model) { print("model.scale = ${model.scale}"); bZoomedInit = (1.0 == model.scale); - scrollPhysics = PageScrollPhysics(); + scrollPhysics = scrollPhysics0; setState(() {}); }, pointerDownCallback: () { if (bZoomedInit) { if (scrollPhysics != PageScrollPhysics()) { - scrollPhysics = PageScrollPhysics(); + scrollPhysics = scrollPhysics0; setState(() {}); } } else { @@ -177,7 +182,7 @@ class _LoginPageState extends State with SingleTickerProviderSta } }, pointerUpCallback: () { - scrollPhysics = PageScrollPhysics(); + scrollPhysics = scrollPhysics0; setState(() {}); }, ); diff --git a/lib/pages/Works/TJXX/today_list_zpjl_content_new.dart b/lib/pages/Works/TJXX/today_list_zpjl_content_new.dart index a3e702a..87fb0ef 100644 --- a/lib/pages/Works/TJXX/today_list_zpjl_content_new.dart +++ b/lib/pages/Works/TJXX/today_list_zpjl_content_new.dart @@ -129,6 +129,11 @@ class _TodayListZpjlPageState extends State { // 使用自定义 my_flutter_drag_scale 插件,完美解决Listview滚动与图片缩放拖动之间的手势冲突,不会消耗点击事件,滚动很灵敏 ScrollPhysics scrollPhysics; + + // 若 scrollPhysics0 赋值为 PageScrollPhysics(),图片组件缩放后,点击文本输入框软键盘弹起会遮挡文本输入框组件 + // 将 scrollPhysics0 赋值为 AlwaysScrollableScrollPhysics(),问题解决 + ScrollPhysics scrollPhysics0 = AlwaysScrollableScrollPhysics(); + bool bZoomedInit = true; // 图片是否为原样大小 Widget getNetworkImage(String url) { return CachedNetworkImage( @@ -144,13 +149,13 @@ class _TodayListZpjlPageState extends State { scaleChangedCallback: (ScaleChangedModel model) { print("model.scale = ${model.scale}"); bZoomedInit = (1.0 == model.scale); - scrollPhysics = PageScrollPhysics(); + scrollPhysics = scrollPhysics0; setState(() {}); }, pointerDownCallback: () { if (bZoomedInit) { if (scrollPhysics != PageScrollPhysics()) { - scrollPhysics = PageScrollPhysics(); + scrollPhysics = scrollPhysics0; setState(() {}); } } else { @@ -161,7 +166,7 @@ class _TodayListZpjlPageState extends State { } }, pointerUpCallback: () { - scrollPhysics = PageScrollPhysics(); + scrollPhysics = scrollPhysics0; setState(() {}); }, ); From f74cca044e989225f1065df26df8d2efa4c22c95 Mon Sep 17 00:00:00 2001 From: WinUser01 Date: Wed, 25 May 2022 23:29:30 +0800 Subject: [PATCH 4/5] =?UTF-8?q?hyzp=5Fybqx-Commit168=EF=BC=9A=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E5=8F=B7=E6=9B=B4=E6=96=B0=E4=B8=BAversion:=201.5.2+2?= =?UTF-8?q?0220531=E3=80=82=E8=A7=A3=E5=86=B3=E5=9C=A8=E4=B8=8B=E5=88=97?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=20hysh=5Fcontent=5Fnew.dart=E3=80=81fhycx=5F?= =?UTF-8?q?content=5Fnew.dart=E3=80=81tsjj=5Fcontent=5Fnew.dart=E3=80=81to?= =?UTF-8?q?day=5Flist=5Fzpjl=5Fcontent=5Fnew.dart=20=E4=B8=AD=EF=BC=8C?= =?UTF-8?q?=E5=BD=93=E5=9B=BE=E7=89=87=E7=BB=84=E4=BB=B6=E7=BC=A9=E6=94=BE?= =?UTF-8?q?=E5=90=8E=EF=BC=8C=E7=82=B9=E5=87=BB=E6=96=87=E6=9C=AC=E8=BE=93?= =?UTF-8?q?=E5=85=A5=E6=A1=86=E8=BD=AF=E9=94=AE=E7=9B=98=E5=BC=B9=E8=B5=B7?= =?UTF-8?q?=E9=81=AE=E6=8C=A1=E6=96=87=E6=9C=AC=E8=BE=93=E5=85=A5=E6=A1=86?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 全局搜索“ScrollPhysics scrollPhysics”,需要修改4个文件内容: hysh_content_new.dart 131 fhycx_content_new.dart 137 tsjj_content_new.dart 602 today_list_zpjl_content_new.dart 147 --- pubspec.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pubspec.yaml b/pubspec.yaml index 0f786c6..faaa468 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -72,7 +72,8 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev #version: 1.4.31+20220506 #version: 1.4.32+20220511 #version: 1.4.33+20220515 -version: 1.5.1+20220517 +#version: 1.5.1+20220517 +version: 1.5.2+20220531 environment: sdk: ">=2.7.0 <3.0.0" From f04fae973ec1da01b213558f7b7d5c742162ee6b Mon Sep 17 00:00:00 2001 From: WinUser01 Date: Sat, 4 Jun 2022 10:22:13 +0800 Subject: [PATCH 5/5] =?UTF-8?q?hyzp=5Fybqx-Commit169=EF=BC=9A=E5=8F=AF?= =?UTF-8?q?=E8=83=BD=E7=94=B1=E4=BA=8E=E8=85=BE=E8=AE=AF=E4=BA=91=E7=9B=B4?= =?UTF-8?q?=E6=92=AD=E6=8E=A5=E5=8F=A3=E8=B0=83=E6=95=B4=EF=BC=8C=E6=9C=89?= =?UTF-8?q?=E7=9A=84=E6=A8=A1=E5=9D=97=E4=B8=8D=E8=83=BD=E5=86=8D=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=EF=BC=8C=E5=AF=BC=E8=87=B4=E7=BC=96=E8=AF=91=E5=A6=82?= =?UTF-8?q?=E4=B8=8B=E6=8A=A5=E9=94=99=EF=BC=8C=E6=97=A0=E6=B3=95=E6=AD=A3?= =?UTF-8?q?=E5=B8=B8=E8=BF=90=E8=A1=8C=E3=80=82=E6=B3=A8=E9=87=8A=E6=8E=89?= =?UTF-8?q?NetWatcher.java=E6=96=87=E4=BB=B6=E4=B8=8B=E9=9D=A24=E8=A1=8C?= =?UTF-8?q?=E5=86=85=E5=AE=B9=E5=90=8E=EF=BC=8C=E6=AD=A3=E5=B8=B8=E7=BC=96?= =?UTF-8?q?=E8=AF=91=E9=80=9A=E8=BF=87=EF=BC=8C=E8=BF=9D=E7=AB=A0=E8=A7=86?= =?UTF-8?q?=E9=A2=91=E3=80=81=E7=82=B9=E4=BD=8D=E8=A7=86=E9=A2=91=E9=83=BD?= =?UTF-8?q?=E8=83=BD=E6=AD=A3=E5=B8=B8=E6=92=AD=E6=94=BE=EF=BC=9A=20R:\Flu?= =?UTF-8?q?tterProject\FlutterProject61-test\flutter=5Fsuperplayer\android?= =?UTF-8?q?\src\main\java\com\tencent\liteav\demo\superplayer\model\utils\?= =?UTF-8?q?NetWatcher.java:12:=20=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD:=20?= =?UTF-8?q?=EF=BF=BD=D2=B2=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD?= =?UTF-8?q?=EF=BF=BD=EF=BF=BD=20import=20com.tencent.rtmp.TXLog;=20=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20?= =?UTF-8?q?^=20=20=20=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD:=20=20=20?= =?UTF-8?q?=EF=BF=BD=EF=BF=BD=20TXLog=20=20=20=CE=BB=EF=BF=BD=EF=BF=BD:=20?= =?UTF-8?q?=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=20com.tencent.rtm?= =?UTF-8?q?p=20R:\FlutterProject\FlutterProject61-test\flutter=5Fsuperplay?= =?UTF-8?q?er\android\src\main\java\com\tencent\liteav\demo\superplayer\mo?= =?UTF-8?q?del\utils\NetWatcher.java:57:=20=EF=BF=BD=EF=BF=BD=EF=BF=BD?= =?UTF-8?q?=EF=BF=BD:=20=EF=BF=BD=D2=B2=EF=BF=BD=EF=BF=BD=EF=BF=BD?= =?UTF-8?q?=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=20=20=20=20=20=20=20=20=20?= =?UTF-8?q?TXLog.w("NetWatcher",=20"net=20check=20start=20watch=20");=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20^=20=20=20=EF=BF=BD=EF=BF=BD=EF=BF=BD?= =?UTF-8?q?=EF=BF=BD:=20=20=20=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=20TXLog?= =?UTF-8?q?=20=20=20=CE=BB=EF=BF=BD=EF=BF=BD:=20=EF=BF=BD=EF=BF=BD=20NetWa?= =?UTF-8?q?tcher=20R:\FlutterProject\FlutterProject61-test\flutter=5Fsuper?= =?UTF-8?q?player\android\src\main\java\com\tencent\liteav\demo\superplaye?= =?UTF-8?q?r\model\utils\NetWatcher.java:62:=20=EF=BF=BD=EF=BF=BD=EF=BF=BD?= =?UTF-8?q?=EF=BF=BD:=20=EF=BF=BD=D2=B2=EF=BF=BD=EF=BF=BD=EF=BF=BD?= =?UTF-8?q?=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=20=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20=20=20=20=20=20=20=20TXLog.w("NetWatcher",=20"net=20check=20?= =?UTF-8?q?loading=20count=20=3D=20"+mLoadingCount+"=20loading=20time=20?= =?UTF-8?q?=3D=20"+mLoadingTime);=20=20=20=20=20=20=20=20=20=20=20=20=20?= =?UTF-8?q?=20=20=20=20^=20=20=20=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD:=20?= =?UTF-8?q?=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=20TXLog=20R:\FlutterProjec?= =?UTF-8?q?t\FlutterProject61-test\flutter=5Fsuperplayer\android\src\main\?= =?UTF-8?q?java\com\tencent\liteav\demo\superplayer\model\utils\NetWatcher?= =?UTF-8?q?.java:82:=20=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD:=20=EF=BF=BD?= =?UTF-8?q?=D2=B2=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD?= =?UTF-8?q?=EF=BF=BD=20=20=20=20=20=20=20=20=20TXLog.w("NetWatcher",=20"ne?= =?UTF-8?q?t=20check=20stop=20watch");?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../liteav/demo/superplayer/model/utils/NetWatcher.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/my_flutter_superplayer/android/src/main/java/com/tencent/liteav/demo/superplayer/model/utils/NetWatcher.java b/lib/my_flutter_superplayer/android/src/main/java/com/tencent/liteav/demo/superplayer/model/utils/NetWatcher.java index 4c03087..edf4550 100644 --- a/lib/my_flutter_superplayer/android/src/main/java/com/tencent/liteav/demo/superplayer/model/utils/NetWatcher.java +++ b/lib/my_flutter_superplayer/android/src/main/java/com/tencent/liteav/demo/superplayer/model/utils/NetWatcher.java @@ -9,7 +9,7 @@ import android.text.TextUtils; import android.widget.Toast; import com.tencent.rtmp.TXLivePlayer; -import com.tencent.rtmp.TXLog; +//import com.tencent.rtmp.TXLog; import java.lang.ref.WeakReference; @@ -54,12 +54,12 @@ public class NetWatcher { mLoadingCount = 0; mLoadingTime= 0; mLoadingStartTime = 0; - TXLog.w("NetWatcher", "net check start watch "); + //TXLog.w("NetWatcher", "net check start watch "); Handler mainHandler = new Handler(Looper.getMainLooper()); mainHandler.postDelayed(new Runnable() { @Override public void run() { - TXLog.w("NetWatcher", "net check loading count = "+mLoadingCount+" loading time = "+mLoadingTime); + //TXLog.w("NetWatcher", "net check loading count = "+mLoadingCount+" loading time = "+mLoadingTime); if (mLoadingCount >= MAX_LOADING_COUNT || mLoadingTime >= MAX_LOADING_TIME) { showSwitchStreamDialog(); } @@ -79,7 +79,7 @@ public class NetWatcher { mLoadingStartTime = 0; mPlayURL = ""; mLivePlayer = null; - TXLog.w("NetWatcher", "net check stop watch"); + //TXLog.w("NetWatcher", "net check stop watch"); } /**