title: Butterknife view in Fragment is null reference if call from parent activity
body: <p>i have problem with using <a href="https://github.com/JakeWharton/butterknife" rel="nofollow">Butterknife</a> libray. There is I have SearchActivity.class use ViewPager with 3 Fragment in FragmentSearchAdapter:</p>
  
  <p><strong>SearchActivity.class</strong></p>
  
  <pre><code>mAdapter = new FragmentSearchAdapter(getSupportFragmentManager(), SearchActivity.this);
      mAdapter.addFragment("search histori");
      mAdapter.addFragment("search query");
      mAdapter.addFragment("search result");
          mPager.setAdapter(mAdapter);
  
      mPager.addOnPageChangeListener(new ViewPager.OnPageChangeListener() {
  
          public void onPageSelected(int currentIndex) {
              if(currentIndex==2) {
                  SearchResultFragment SearchResultFragment = (SearchResultFragment) mAdapter.getItem(2);
  
                  if (SearchResultFragment != null) {
                      SearchResultFragment.setDescription("Text 1","Text 2");
                  }
            }
          }
  
          public void onPageScrolled(int arg0, float arg1, int arg2) { }
  
          public void onPageScrollStateChanged(int arg0) { }
      });
  </code></pre>
  
  <p><strong>FragmentSearchAdapter.class</strong></p>
  
  <pre><code> @Override
      public Fragment getItem(int position) {
          switch (position) {
              case 0:
                  SearchHistoryFragment search_histori = new SearchHistoryFragment();
                  return search_histori;
              case 1:
                  SearchQueryFragment search_query = new SearchQueryFragment();
                  return search_query;
              case 2:
                  SearchResultFragment search_result =  new SearchResultFragment();
                  return search_result;
          }
          return null;
      }
  </code></pre>
  
  <p>Where one fragment is <strong>SearchResultFragment.Class</strong></p>
  
  <pre><code>public class SearchResultFragment extends Fragment {
  
      @Bind(R.id.text1)
      TextView text1;
      @Bind(R.id.text2)
      TextView text2;
      private String page_index;
      private PageAlquranActivity activity;
  
      public SearchResultFragment() {
      }
  
      public static SearchResultFragment newInstance(int page_index) {
          SearchResultFragment fragment = new SearchResultFragment();
          Bundle args = new Bundle();
          args.putString(Variabel.page_index, String.valueOf(page_index));
          fragment.setArguments(args);
          return fragment;
      }
  
      @Override
      public void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          if (getArguments() != null) {
              page_index = getArguments().getString(Variabel.page_index);
          }
          activity = (PageAlquranActivity) getActivity();
      }
  
      @Override
      public View onCreateView(LayoutInflater inflater, ViewGroup container,
                               Bundle savedInstanceState) {
          View v = inflater.inflate(R.layout.fragment_search_result, container, false);
          ButterKnife.bind(this, v);
          return v;
      }
  
      public void setDescription(String s1, String s2) {
          text1.setText(s1);
          text2.setText(s2);
      }
  
      @Override
      public void onAttach(Context context) {super.onAttach(context);}
  
      @Override
      public void onDetach() {
          super.onDetach();
      }
  
  }
  </code></pre>
  
  <p>My Problem : when call method <code>SearchResultFragment.setDescription("Text 1","Text 2");</code> from SearchActivity, I get error :</p>
  
  <blockquote>
    <p>null object reference</p>
  </blockquote>
  
  <p>each TextView. This error if use ButterKnife,but if not, it's work if I declare View like this :</p>
  
  <pre><code>text1 = rootView.findViewById(R.id.text1);
  text2 = rootView.findViewById(R.id.text2);
  </code></pre>
  
  <p>in onCreateView.</p>
  
  <p>so how to solve it ? Sorry for my English. Thanks.</p>