title: How to use Toast in ASyncTask/onPostExecute with string from resources?
body: <p>I have the following code:</p>
  
  <pre><code>@Override
  protected void onPostExecute(Void arg0) {
                      ...
          Toast.makeText(getBaseContext(), getBaseContext().getResources().getString(R.string.toast_sync_completed), Toast.LENGTH_SHORT).show();
  }
  </code></pre>
  
  <p>It fails (FC). If pass <code>"Test string"</code> instead of <code>getResources().getString(R.string.toast_sync_completed)</code>, then it works correctly. What am I doing wrong?</p>