public static void Initialize (Android.App.Application app)
		{
			var version = Build.VERSION.SdkInt;

            if (version >= BuildVersionCodes.IceCreamSandwich) {
                lifecycleListener = new ActivityLifecycleContextListener ();
                app.RegisterActivityLifecycleCallbacks (lifecycleListener);
            }
		}
Пример #2
0
        public static void Initialize(Android.App.Application app)
        {
            var version = Build.VERSION.SdkInt;

            if (version >= BuildVersionCodes.IceCreamSandwich)
            {
                lifecycleListener = new ActivityLifecycleContextListener();
                app.RegisterActivityLifecycleCallbacks(lifecycleListener);
            }
        }