private static void OnActivityPaused(object sender, ActivityEventArgs e)
 {
     Paused?.Invoke(null, EventArgs.Empty);
 }
        private static void OnActivityResumed(object sender, ActivityEventArgs e)
        {
            _currentActivity.SetTarget(e.Activity);

            Resumed?.Invoke(null, EventArgs.Empty);
        }