title: Onclick not working inside navigation drawer
body: <p>I've got MainActivity with Google maps integrated inside and default Android navigation drawer.Already tried a lot of things, but onclick is never called.I have tried with butterknife onclick, but it never worked for me.</p>
  
  <pre><code>public class MapsActivity extends AppCompatActivity implements OnMapReadyCallback,NavigationView.OnNavigationItemSelectedListener {
  
  
  
   @BindView(R.id.traditional) NavigationView traditionalFood;
    private GoogleMap mMap;
    private ArrayAdapter&lt;String&gt; mAdapter;
    private DrawerLayout drawerLayout;
    private Toolbar toolbar;
    private NavigationView naview;
  
    @Override protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      ButterKnife.bind(this);
      setContentView(R.layout.activity_maps);
      setNavigationViewListner();
      SupportMapFragment mapFragment =
          (SupportMapFragment) getSupportFragmentManager().findFragmentById(R.id.map);
      mapFragment.getMapAsync(this);
      toolbar = (Toolbar) findViewById(R.id.toolbar);
      naview = (NavigationView) findViewById(R.id.traditional);
  
      setSupportActionBar(toolbar);
  
      initNavigationDrawer();
    }
  
   @Override public boolean onNavigationItemSelected(@NonNull MenuItem item) {
      // Handle navigation view item clicks here.
      switch (item.getItemId()) {
  
        case R.id.traditional: {
         Log.d("onclick","working traditional");
          break;
        }
        case R.id.tips:{
          Log.d("onclick","working tips");
          break;
        }
      }
      //close navigation drawer
      drawerLayout.closeDrawer(GravityCompat.START);
      return true;
    }
  
    private void setNavigationViewListner() {
      NavigationView navigationView = (NavigationView) findViewById(R.id.navigation_view);
      navigationView.setNavigationItemSelectedListener(this);
  
    }
  </code></pre>
  
  <p>XML file:</p>
  
  <pre><code>&lt;android.support.v4.widget.DrawerLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:app="http://schemas.android.com/apk/res-auto"
  xmlns:tools="http://schemas.android.com/tools"
  android:id="@+id/drawer"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:fitsSystemWindows="true"
  tools:openDrawer="start"&gt;
  
    &lt;fragment xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:tools="http://schemas.android.com/tools"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:id="@+id/map"
        tools:context="localfoodtips.localfoodsarajevo.MapsActivity"
        android:name="com.google.android.gms.maps.SupportMapFragment"/&gt;
  
  &lt;android.support.design.widget.CoordinatorLayout
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:fitsSystemWindows="true"
      tools:context="com.learn2crack.myapplication.MainActivity"&gt;
  
    &lt;android.support.design.widget.AppBarLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:theme="@style/NavigationTheme"&gt;
  
      &lt;android.support.v7.widget.Toolbar
          android:id="@+id/toolbar"
          android:layout_width="match_parent"
          android:layout_height="?attr/actionBarSize"
          android:background="?attr/colorPrimary"
          app:popupTheme="@style/Base.AlertDialog.AppCompat.Light" /&gt;
  
    &lt;/android.support.design.widget.AppBarLayout&gt;
  
    &lt;include layout="@layout/content_main" /&gt;
  
  &lt;/android.support.design.widget.CoordinatorLayout&gt;
  
  &lt;android.support.design.widget.NavigationView
      android:id="@+id/navigation_view"
      android:layout_height="match_parent"
      android:layout_width="wrap_content"
      android:layout_gravity="start"
      app:headerLayout="@layout/navigation_header"
      app:menu="@menu/menu_navigation"/&gt;
  
  &lt;/android.support.v4.widget.DrawerLayout&gt;
  </code></pre>