This commit is contained in:
wangcongtao
2020-06-10 19:32:27 +08:00
parent 1faef8ed75
commit b92b4d124f
4 changed files with 20 additions and 2 deletions

View File

@@ -15,7 +15,6 @@ import com.mogo.module.carchatting.card.CallChatConstant;
import com.mogo.module.common.MogoModule;
import com.mogo.module.common.MogoModulePaths;
import com.mogo.module.media.MediaConstants;
import com.mogo.module.push.PushUIConstants;
import com.mogo.module.service.ServiceConst;
import com.mogo.module.tanlu.constant.TanluConstants;
import com.mogo.module.v2x.V2XConst;

View File

@@ -17,6 +17,7 @@ import androidx.annotation.Nullable;
import androidx.constraintlayout.widget.ConstraintLayout;
import com.alibaba.android.arouter.launcher.ARouter;
import com.mogo.commons.debug.DebugConfig;
import com.mogo.commons.mvp.MvpFragment;
import com.mogo.map.listener.IMogoMapListener;
import com.mogo.map.location.IMogoLocationClient;
@@ -261,6 +262,13 @@ public class EntranceFragment extends MvpFragment<EntranceView, EntrancePresente
}
});
if ( DebugConfig.isDebug() ) {
mMove2CurrentLocation.setOnLongClickListener( view -> {
mApis.getSearchManagerApi().goSettings();
return true;
} );
}
// mNaviInfo = findViewById( R.id.module_entrance_id_navi_info_panel );
ConstraintLayout rootView = findViewById(R.id.module_entrance_id_top_motion_layout);
if (rootView != null) {

View File

@@ -137,8 +137,8 @@ public class MogoModulesManager implements MogoModulesHandler {
if ( baseModule == null ) {
continue;
}
load( baseModule.getPath() );
Logger.d( TAG, "加载基本模块:%s", baseModule.getPath() );
load( baseModule.getPath() );
}
}

View File

@@ -69,6 +69,10 @@ public class FragmentStack {
return;
}
if ( mFragmentManager == null ) {
return;
}
FragmentTransaction mFragmentTransaction = mFragmentManager.beginTransaction();
if ( mCurrentFragment != null ) {
@@ -100,6 +104,9 @@ public class FragmentStack {
invokeCallback();
return;
}
if ( mFragmentManager == null ) {
return;
}
FragmentTransaction mFragmentTransaction = mFragmentManager.beginTransaction();
@@ -163,6 +170,10 @@ public class FragmentStack {
public void clearAll() {
if ( mFragmentManager == null ) {
return;
}
if ( mFragmentStack.isEmpty() ) {
invokeCallback();
return;