access to another XML file
<p>I want to have an access to another XML file in an inner class but I can't get a reference to the other XML components, this an inner class code:</p>

<pre><code>    class ItemsClass extends ArrayAdapter&lt;String&gt;
         {

    public ItemsClass ()
    {
        super(ListActivity.this, R.layout.itemslist);   
    }


    public View getView (final int position, View convertview, ViewGroup parent)
    {
        //setContentView(R.layout.itemslist);
        final String s = this.getItem(position);
       LayoutInflater inflater= getLayoutInflater();

       View  row= inflater.inflate(R.layout.itemslist, parent, false);


       // get ref to each component in itemList.xml
TextView itemName= (TextView) row.findViewById(R.id.textView1);// here i can't access to the TextView in itemslist.xml


    }

}
</code></pre>
