super
.onDestroy();
}
public void
replaceFragment(Fragment fragment) { replaceFragment(fragment,
true
,
null
);
}
public void
replaceFragment(Fragment fragment,
boolean
addToBackStack) {
replaceFragment(fragment, addToBackStack,
null
);
}
public void
replaceFragment(Fragment fragment,
boolean
addToBackStack,
@Nullable
String
key)
{
FragmentTransaction
replaceTransaction =
getSupportFragmentManager()
.beginTransaction()
.replace(R.id.
container
, fragment);
Достарыңызбен бөлісу: