提交 95de6faf 编写于 作者: S suhy

debug

上级 d29aa356
......@@ -64,6 +64,23 @@ public class AddBottleActivity extends AppCompatActivity {
initSpinner();
}
@Override
public void onResume(){
super.onResume();
binding.map.onResume();
}
@Override
public void onPause(){
super.onPause();
binding.map.onPause();
}
@Override
public void onDestroy(){
super.onDestroy();
binding.map.onDestroy();
}
private void initSpinner(){
......
......@@ -61,6 +61,23 @@ public class AddMessageActivity extends AppCompatActivity {
});
initSpinner();
}
@Override
public void onResume(){
super.onResume();
binding.map.onResume();
}
@Override
public void onPause(){
super.onPause();
binding.map.onPause();
}
@Override
public void onDestroy(){
super.onDestroy();
binding.map.onDestroy();
}
private void initSpinner(){
ArrayAdapter<String> spinnerAdapter = new ArrayAdapter<String>(this, R.layout.item_select, PoiNameList);
......
......@@ -40,4 +40,22 @@ public class BottledetailsActivity extends AppCompatActivity {
});
BottleService.showBottle(id,this,binding.title,baiduMap,binding.describe);
}
@Override
public void onResume(){
super.onResume();
binding.map.onResume();
}
@Override
public void onPause(){
super.onPause();
binding.map.onPause();
}
@Override
public void onDestroy(){
super.onDestroy();
binding.map.onDestroy();
}
}
......@@ -48,12 +48,12 @@ public class MainActivity extends AppCompatActivity {
NavigationUI.setupActionBarWithNavController(this, navController, mAppBarConfiguration);
NavigationUI.setupWithNavController(binding.bottomNav, navController);
/**动态注册广播*/
IntentFilter iFilter = new IntentFilter();
iFilter.addAction(SDKInitializer.SDK_BROADTCAST_ACTION_STRING_PERMISSION_CHECK_ERROR);
iFilter.addAction(SDKInitializer.SDK_BROADTCAST_ACTION_STRING_PERMISSION_CHECK_OK);
SDKReceiver mReceiver = new SDKReceiver();
registerReceiver(mReceiver, iFilter);
// /**动态注册广播*/
// IntentFilter iFilter = new IntentFilter();
// iFilter.addAction(SDKInitializer.SDK_BROADTCAST_ACTION_STRING_PERMISSION_CHECK_ERROR);
// iFilter.addAction(SDKInitializer.SDK_BROADTCAST_ACTION_STRING_PERMISSION_CHECK_OK);
// SDKReceiver mReceiver = new SDKReceiver();
// registerReceiver(mReceiver, iFilter);
viewList.add(binding.bubble);
viewList.add(binding.view);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册