title: create new menuInflater or getMenuInflater() from activity?
body: <p>I'm creating new option menu inside fragment but after reading 
  <a href="http://developer.android.com/resources/articles/avoiding-memory-leaks.html" rel="noreferrer">http://developer.android.com/resources/articles/avoiding-memory-leaks.html</a>
  which said to it's better to use context-application than context-activity, I'm afraid to use getActivity().getMenuInflater() </p>
  
  <p>So, actually which one better</p>
  
  <pre><code>@Override
  public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {
      MenuInflater mInflater = new MenuInflater(getActivity().getApplicationContext());
      mInflater.inflate(R.menu.simple_menu, menu);
  }
  </code></pre>
  
  <p>Or the one call activity</p>
  
  <pre><code>@Override
  public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {
      MenuInflater mInflater = getActivity().getMenuInflater();
      mInflater.inflate(R.menu.simple_menu, menu);
  
  }
  </code></pre>
  
  <p>and, what's the differences between the two of 'em? or..both are just the same?</p>
  
  <p>Thanks.</p>