Changing between multiple views with a spinner
<p>I have an activity that has a spinner with a selection of multiple custom view objects that are defined in xml layout</p>

<p>Each view object has wall coordinates for a map that is drawn on the screen</p>

<p>The problem I am facing is when I try to view other maps(view objects).The only view drawn on the screen is the first one seen on the xml.</p>

<p>Methods i used to change:</p>

<ol>
<li><p>map.invalidate();</p></li>
<li><p>layoutinflater</p></li>
<li><p>layout.invalidate();</p></li>
</ol>

<p>Any help would be appreciated</p>
