Пример #1
0
 private static void OnActivityPaused(object sender, ActivityEventArgs e)
 {
     Paused?.Invoke(null, EventArgs.Empty);
 }
Пример #2
0
        private static void OnActivityResumed(object sender, ActivityEventArgs e)
        {
            _currentActivity.SetTarget(e.Activity);

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