Android: how to call onCreate() with different arguments after clicking on a list item?
<pre><code>protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    String path = "/";
    ...

    list.setOnItemClickListener(new OnItemClickListener() {
        public void onItemClick(AdapterView&lt;?&gt; parent, View view, int position, long id) {

        }
    });

}
</code></pre>

<p>I'd like to call onCreate() again inside the OnItemClickListener function but with "path" variable set differently (based on what's clicked).</p>

<p>I had a look at "Intent" class but it didn't help me much. I'm not sure what to look for.</p>

<p>How can I do that?</p>
