This commit is contained in:
zhongchao
2022-03-11 19:40:23 +08:00
parent c6adf078ee
commit b16e7edbd3
710 changed files with 78933 additions and 26 deletions

View File

@@ -1,5 +1,6 @@
package com.mogo.module.service.intent;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.graphics.BitmapFactory;
@@ -23,6 +24,7 @@ import com.mogo.eagle.core.utilcode.mogo.logger.Logger;
import com.mogo.eagle.core.utilcode.mogo.storage.SharedPrefsMgr;
import com.mogo.eagle.core.utilcode.mogo.thread.WorkThreadHandler;
import com.mogo.eagle.core.utilcode.mogo.toast.TipToast;
import com.mogo.eagle.core.utilcode.util.AppStateManager;
import com.mogo.eagle.core.utilcode.util.ThreadUtils;
import com.mogo.eagle.core.utilcode.util.ToastUtils;
import com.mogo.map.marker.IMogoMarker;
@@ -94,12 +96,15 @@ public class MockIntentHandler implements IntentHandler {
MarkerServiceHandler.getMapUIController().changeBearing(bearing);
break;
case 9:// 测试弹窗
new WMDialog.Builder(context)
.setOkButton("确认", (dlg, which) -> dlg.dismiss())
.setCancelButton("取消", (dlg, which) -> dlg.dismiss())
.setContent("内容内容内容内容内容内容内容内容")
.build()
.show();
Activity activity = AppStateManager.INSTANCE.currentActivity();
if (activity != null) {
new WMDialog.Builder(activity)
.setOkButton("确认", (dlg, which) -> dlg.dismiss())
.setCancelButton("取消", (dlg, which) -> dlg.dismiss())
.setContent("内容内容内容内容内容内容内容内容")
.build()
.show();
}
break;
case 10://测试GEO查询
IMogoGeoSearch geoSearch = MarkerServiceHandler.getMapService().getGeoSearch(context);