Esempio n. 1
0
 public static void Init(Application application)
 {
     lifecycleListener = new ActivityLifecycleContextListener();
     application.RegisterActivityLifecycleCallbacks(lifecycleListener);
 }
Esempio n. 2
0
 public static void Init(Activity activity, Bundle bundle)
 {
     lifecycleListener = new ActivityLifecycleContextListener();
     activity.Application.RegisterActivityLifecycleCallbacks(lifecycleListener);
 }