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