Commit 3ec4779a authored by Leonardo Aramaki's avatar Leonardo Aramaki

Remove add to RoomFragment to backstack

parent cb580dfe
......@@ -75,13 +75,19 @@ abstract class AbstractFragmentActivity extends RxAppCompatActivity {
.commit();
}
protected void showFragmentWithTag(Fragment fragment, String tag) {
protected void showFragmentWithTagWithBackStack(Fragment fragment, String tag) {
getSupportFragmentManager().beginTransaction()
.replace(getLayoutContainerForFragment(), fragment, tag)
.addToBackStack(null)
.commit();
}
protected void showFragmentWithTag(Fragment fragment, String tag) {
getSupportFragmentManager().beginTransaction()
.replace(getLayoutContainerForFragment(), fragment, tag)
.commit();
}
protected void showFragmentWithBackStack(Fragment fragment) {
getSupportFragmentManager().beginTransaction()
.replace(getLayoutContainerForFragment(), fragment)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment