protected override void OnPause() { base.OnPause(); EventHelpers.Raise(this, Paused, EventArgs.Empty); if (_orientationListener.CanDetectOrientation()) { _orientationListener.Disable(); } }
protected override void OnPause() { base.OnPause(); if (Paused != null) { Paused(this, EventArgs.Empty); } if (_orientationListener.CanDetectOrientation()) { _orientationListener.Disable(); } }