diff --git a/app/src/main/java/com/example/citrusclient/views/MainActivity.java b/app/src/main/java/com/example/citrusclient/views/MainActivity.java index a8247cb..6c696b0 100644 --- a/app/src/main/java/com/example/citrusclient/views/MainActivity.java +++ b/app/src/main/java/com/example/citrusclient/views/MainActivity.java @@ -28,11 +28,13 @@ return insets; }); + showFragment(new MyBookshelfFragment()); + setNavViewEvent(); } - private void showFragment(Fragment fragment){ + public void showFragment(Fragment fragment){ getSupportFragmentManager().beginTransaction() .replace(R.id.fragment_container, fragment) .addToBackStack(null)