Passing a string to a onItemClick-function
<p>I have a listview and when you click an item in the list I repopulate the list with some other data. The problem I have is to pass a string inside a onItemClick so I can use it there. How can I do that?</p>

<pre><code>    private void asdf(int myInt, String myString) {

                Bla bla bla bla...

                //I can access myString here

                OnItemClickListener itemListener = new OnItemClickListener(){

                public void onItemClick(AdapterView&lt;?&gt; parent, View arg1, int position,
                                    long arg3) {

                //But how can I access myString here like the row below
                asdf(Integer.valueOf(aIdList.get(position).toString()),myString);             
                  }

                }
            }
</code></pre>
