protected override void Dispose(bool disposing) { if (videoView != null) { videoView.StopPlayback(); videoView = null; } base.Dispose(disposing); }
public override void OnDestroy() { base.OnDestroy(); if (batteryChangedReceiver != null) { Activity.UnregisterReceiver(batteryChangedReceiver); } handler.RemoveCallbacksAndMessages(null); vv.StopPlayback(); }
protected override void OnPause() { mPosition = mVideoView.CurrentPosition; mVideoView.StopPlayback(); base.OnPause(); }