title: fragment bottom navigation bar clickable one time selected item
body: <p>When I click again to any item, same fragment view reloading every time. But I wanna do bottom navigation bar item one time clickable. how can i do this?</p>
  <p>This is MainActivity.java codes</p>
  <pre><code>navigationMenu=findViewById(R.id.navigation);
      navigationMenu.setOnNavigationItemSelectedListener(navListener);
  
     //navigationMenu.getMenu().getItem(2).setIcon(R.drawable.arrow_down);
  
      //I added this if statement to keep the selected fragment when rotating the device
      if (savedInstanceState == null) {
          getSupportFragmentManager().beginTransaction().replace(R.id.fragment_container,
                  new UserHomeFragment()).commit();
      }
  </code></pre>
  <p>This is click listener codes</p>
  <pre><code>private BottomNavigationView.OnNavigationItemSelectedListener navListener =
          new BottomNavigationView.OnNavigationItemSelectedListener() {
              @Override
              public boolean onNavigationItemSelected(@NonNull MenuItem item) {
                  Fragment selectedFragment = null;
                  switch (item.getItemId()) {
                      case R.id.navigation_home:
                          selectedFragment = new UserHomeFragment();
                          break;
                      case R.id.navigation_works:
                          selectedFragment = new UserWorksFragment();
                          break;
                      case R.id.navigation_completed_works:
                          selectedFragment = new UserCompletedFragment();
                          break;
                      case R.id.navigation_profile:
                          selectedFragment = new UserAccountFragment();
                          break;
                  }
                  getSupportFragmentManager().beginTransaction().replace(R.id.fragment_container,
                          selectedFragment).commit();
                  return true;
              }
          };
  </code></pre>