void GotoMainActivity(){
Intent intent = new Intent(ProductionInformationActivity.this, MainActivity.class);
//跳到MainActivity时清除掉ProductionInformationActivity
intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK | Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(intent);
}
05-08 08:44