Android: How to handle Customview on savedInstancestate and resotreInstancestate
<p>How to handle Customview on savedInstancestate and resotreInstancestate?. Customview contains streaming video. Once i go to next activity and come to previous activity the streaming video is not visible. How to handle this?</p>

<pre><code>MjpegView container = (MjpegView)findViewById(R.id.video1_surface);
container.setSource(MjpegInputStream.read(Url)); 

@Override
protected void onSaveInstanceState(Bundle outState) {
    super.onSaveInstanceState(outState);
}

@Override
protected void onRestoreInstanceState(Bundle savedInstanceState) {
    super.onRestoreInstanceState(savedInstanceState);
}
</code></pre>

<p>can anyone help me.</p>
