public void OnActivityResumed(Activity activity) { if (isInBackground) { isInBackground = false; backgroundService.EnterForeground(); } }
public override void WillEnterForeground(UIApplication application) { base.WillEnterForeground(application); backgroundService.EnterForeground(); }