onPostExecute cant use Main Activity elements
<p>I have doinBackgroung function. after function I want to change some textview on mainactivity.
but When I trigger the function on main activity I got nullpointerexception on TextView line.</p>

<pre><code>protected String doInBackground(Object... arguments) {

    some code..

    return result;
}

@Override
protected void onPostExecute(String result) {
    if(result!=null)
        new MainActivity().setScoreListUpdate(result);
}
</code></pre>

<p>mainActivity ;</p>

<pre><code>public void setScoreListUpdate(String settings)
{
    String[] yeniscore = settings.split("\\|");

    if(yeniscore.length &gt; 1)
    {
            birinci.setText(yeniscore[1]);  &lt;&lt; NULLPOINTEREXC.
    }
}
</code></pre>
