title: Show resource with progressdialog in fragment
body: <p>I can show resource in progressdialog three different way.</p>
  
  <pre><code>pDialog.setMessage(getActivity().getApplicationContext().getResources().getString(R.string.please_wait));
  
  pDialog.setMessage(getContext().getResources().getString(R.string.please_wait));
  
  pDialog.setMessage(getResources().getString(R.string.please_wait));
  </code></pre>
  
  <p>Which one is the true way and why ?</p>