title: Android:Use ButterKnife in Activity extending from another activity
body: <p>I wanted navigation drawer in all my activities.So i used a BaseActivity for Navigation drawer and extended other activities from base activity.Base activity has Navigation drawers. Dashboard activity is extending base activity but it raises exception when i try to use butterknife to bind views saying<br></p>
  
  <pre><code>java.lang.IllegalStateException: Required view 'dashboard_frameLayout' with ID 2131558517 for field 'frameLayout' was not found.  
  </code></pre>
  
  <p>here are the relevant files<br>
  BaseActivity.java</p>
  
  <pre><code>public class BaseActivity extends AppCompatActivity {
  
  @BindView(R.id.toolbar) Toolbar toolbar;
  @Override
  protected void onCreate(@Nullable Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_base);
      ButterKnife.bind(this);
  
      //set toolbar and both Navigation Drawer
  
  }
  </code></pre>
  
  <p>DashboardActivity.java</p>
  
  <pre><code>public class DashBoardActivity extends BaseActivity {
  
  @BindView(R.id.dashboard_frameLayout)
  FrameLayout frameLayout;
  
  @Override
  protected void onCreate(@Nullable Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      View view = getLayoutInflater().inflate(R.layout.activity_dashboard,frameLayout);
      ButterKnife.bind(this,view);
  
      init();
  }
  
  private void init() {
  
      Fragment fragment = getSupportFragmentManager().findFragmentById(R.id.dashboard_frameLayout);
      if(fragment != null){
          Utils.getInstance().addFragment(this,new Fragment_Dashboard(),R.id.dashboard_frameLayout);
      }
  }
  }
  </code></pre>
  
  <p>activity_dashboard.xml</p>
  
  <pre><code>&lt;FrameLayout
      xmlns:app="http://schemas.android.com/apk/res-auto"
      xmlns:android="http://schemas.android.com/apk/res/android"
      android:id="@+id/dashboard_frameLayout"
      android:layout_height="match_parent"
      android:layout_width="match_parent"
      app:layout_behavior="@string/appbar_scrolling_view_behavior" /&gt;
  </code></pre>
  
  <p>why the framelayout was not found in dashboard activity?</p>