I've created a NavigationDrawer Class using this answer: [Same Navigation Drawer in different Activities](https://stackoverflow.com/questions/19451715/same-navigation-drawer-in-different-activities/19451842#19451842)

My problem is that when I click the navigation drawer item of the current activity, the activity reloads, I just need it to close the navigationDrawer if the clicked item is the same of the current activity.

```
This is my Drawer Activity

    import android.content.Intent;
    import android.support.design.widget.NavigationView;
    import android.support.v4.view.GravityCompat;
    import android.support.v4.widget.DrawerLayout;
    import android.support.v7.app.ActionBarDrawerToggle;
    import android.support.v7.app.AppCompatActivity;
    import android.support.v7.widget.Toolbar;
    import android.view.MenuItem;

    import com.rafael.test.LoginActivity;
    import com.rafael.test.HomeActivity;
    import com.rafael.test.R;
    import com.rafael.test.TokenActivity;

    public class DrawerBase extends AppCompatActivity
    implements NavigationView.OnNavigationItemSelectedListener   {

        public DrawerLayout drawer;
public NavigationView navigationView;

protected void onCreateDrawer() {

    drawer = (DrawerLayout)findViewById(R.id.drawer_layout);

    Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
    setSupportActionBar(toolbar);

    ActionBarDrawerToggle toggle = new ActionBarDrawerToggle(
            this, drawer, toolbar, R.string.navigation_drawer_open, R.string.navigation_drawer_close);
    drawer.setDrawerListener(toggle);
    toggle.syncState();

    // Creates the NavigationView and set Listener
    navigationView = (NavigationView) findViewById(R.id.nav_view);
    navigationView.setNavigationItemSelectedListener(this);

}

@Override
public void onBackPressed() {
    if (drawer.isDrawerOpen(GravityCompat.START)) {
        drawer.closeDrawer(GravityCompat.START);
    } else {
        super.onBackPressed();
    }
}

// Here is where I'm handling the menu item click
@Override
public boolean onNavigationItemSelected(MenuItem item) {

    int id = item.getItemId();

    if (id == R.id.home) {
        Intent i = new Intent(this, HomeActivity.class);
        startActivity(i);

    } else if (id == R.id.feed) {

        Intent i = new Intent(this,FeedActivity.class);
        startActivity(i);

    } else if (id == R.id.token) {

        Intent i = new Intent(this, TokenActivity.class);
        startActivity(i);

    }

    drawer = (DrawerLayout) findViewById(R.id.drawer_layout);
    drawer.closeDrawer(GravityCompat.START);
    return true;
}

```

}