Cannot resolve method 'getApplicationContext()' in Fragment class
<pre><code>private void showToast(String message)
{
    Toast.makeText(getApplicationContext(), message, Toast.LENGTH_SHORT).show();
}
</code></pre>

<p>Should I change to <code>getActivity()</code>?</p>