修复由白天黑夜模式回调引起的问题:事件点会被清空。

This commit is contained in:
wangcongtao
2020-09-14 21:00:40 +08:00
parent 98c2873243
commit 154ac337c2
4 changed files with 34 additions and 1 deletions

View File

@@ -163,7 +163,9 @@ public class MainActivity extends MvpActivity< MainView, MainPresenter > impleme
// obuManager.registerObuDataChangedListener(EventDispatchCenter.getInstance());
// }
initAdasControlStatusListener();
if ( DebugConfig.isSkinSupported() ) {
initAdasControlStatusListener();
}
EventDispatchCenter.getInstance().setMapLoadedCallback( () -> {
Logger.d( TAG, "map loaded." + Thread.currentThread().getName() );