From ee5d78fe671ee2eb5f432ead00e75a266107bc36 Mon Sep 17 00:00:00 2001
From: zuoxiao <470321431@qq.com>
Date: 星期三, 13 十一月 2024 16:17:48 +0800
Subject: [PATCH] 添加注释
---
app/src/main/java/com/dayu/pipirrapp/fragment/MapFragment.java | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/app/src/main/java/com/dayu/pipirrapp/fragment/MapFragment.java b/app/src/main/java/com/dayu/pipirrapp/fragment/MapFragment.java
index 5936ae0..d5a7925 100644
--- a/app/src/main/java/com/dayu/pipirrapp/fragment/MapFragment.java
+++ b/app/src/main/java/com/dayu/pipirrapp/fragment/MapFragment.java
@@ -101,6 +101,7 @@
Intent location = new Intent(this.getActivity(), MyLocationService.class);
location.putExtra("isSingle", false);
if (isStartInspec) {
+ //鑾峰彇瀹氫綅鏈嶅姟浼犺繃鏉ョ殑鍧愭爣鐐�
LiveEventBus.get(CommonKeyName.locationData).observeForever(new Observer<Object>() {
@Override
public void onChanged(Object o) {
@@ -291,6 +292,7 @@
@Override
public WebResourceResponse shouldInterceptRequest(WebView view, WebResourceRequest request) {
String url = request.getUrl().toString();
+ Log.i(TAG, "鍔犺浇鍦板潃>>>" + url);
//鍒ゆ柇褰撳墠鏄惁涓哄姞杞界摝鐗�
if (MapJpgUtils.getInsatance().isTianDiTuTileRequest(url)) {
String androidUrl = url.replace(CommonData.webKey, CommonData.androidKey);
@@ -314,6 +316,8 @@
}
Log.i(TAG, "鍦ㄧ嚎鍔犺浇>>>" + url);
}
+
+
return super.shouldInterceptRequest(view, request);
}
--
Gitblit v1.8.0