public void Load() { if (_loaded) return; var instance = new DroidNotifications { Configuration = _config ?? new DroidNotificationConfiguration() }; Mvx.RegisterSingleton<INotifications>(instance); _loaded = true; }
public void Load() { if (_loaded) { return; } var instance = new DroidNotifications { Configuration = _config ?? new DroidNotificationConfiguration() }; Mvx.RegisterSingleton <INotifications>(instance); _loaded = true; }