protected void ToActivity(Class<? extends Activity> c, String titleName) { Intent intent = new Intent(TitleActivity.this, c); intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); intent.putExtra("name", titleName); startActivity(intent); }
protected void ToActivity(Class<? extends Activity> c, String titleName) { Intent intent = new Intent(TitleActivity.this, c); intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); intent.putExtra("name", titleName); startActivity(intent); }