title: Not able to call android annotation methods in fragment?
body: <p>I am using <code>Android annotation</code> in inflate the <code>Fragment</code>:</p>
  
  <pre><code>@EFragment(R.layout.fragment_sample)
  public class SampleFragment extends Fragment {    
      public static SampleFragment newInstance(Context context) {
          mContext = context;
          SampleFragment samplefragment = new SampleFragment_();
          return samplefragment;
      }
  
      @Override
      public void onActivityCreated(@Nullable Bundle savedInstanceState){
          super.onActivityCreated(savedInstanceState);
      }
  
      @Override
      public void onCreate(Bundle bundle) {
          super.onCreate(bundle);
      }
  
      @AfterViews
     public void afterViewsCreated(){
          LinearLayoutManager linearLayoutManager = new LinearLayoutManager(mContext);
    }}
  </code></pre>
  
  <p>I am invoking the instance of above fragment class from an <code>Activity</code>:</p>
  
  <pre><code> SampleFragment.newInstance(getApplicationContext());
  </code></pre>
  
  <p>After enabling <code>debug</code> point in the code. Code flow is only limited to <code>newInstance</code> method. Debugger is not even going to <code>onActivityCreated()</code> , <code>onCreate()</code> and <code>afterViewsCreated()</code>. <code>@AfterViews</code> needs to be get called.</p>
  
  <p>Why is this so happening?</p>