savedInstancestate と resotreInstancestate で Customview を処理する方法は? Customview にはストリーミング ビデオが含まれています。次のアクティビティに移動して前のアクティビティに戻ると、ストリーミング ビデオが表示されません。これをどのように処理しますか?
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);
}
誰でも私を助けることができます。