Android ViewGroup Remove Views?
<p>I have a tabhost. One of the tab's activity is a ViewGroup.  This viewgroup manages two different activities.  I do this so I can navigate between activities within a tab.  I add the activities like so:</p>

<pre><code>if (videoViewLive == null)
            videoViewLive = getLocalActivityManager().startActivity("VideoPlayerLive", new Intent(this,VideoPlayerLive.class).
                    addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP)).getDecorView();

        videoViewLive.setVisibility(View.VISIBLE);
        this.addContentView(videoViewLive, new ViewGroup.LayoutParams(ViewGroup.LayoutParams.FILL_PARENT,ViewGroup.LayoutParams.FILL_PARENT));
</code></pre>

<p>Each of my content view activities receives asynchronous notifications.  What I would like to do is somehow remove the activity/content view that is not being used.  So in essence, I load content view A, B dies, becomes null, or whatever, and vice versa.  I want to do this because the way I am managing these views seems problematic. (errors when loading a view, loading the other view, then loading the first again, etc.)</p>
