public void Load()
        {
            if (_loaded) return;

            var instance = new DroidNotifications
            {
                Configuration = _config ?? new DroidNotificationConfiguration()
            };

            Mvx.RegisterSingleton<INotifications>(instance);

            _loaded = true;
        }
Example #2
0
        public void Load()
        {
            if (_loaded)
            {
                return;
            }

            var instance = new DroidNotifications
            {
                Configuration = _config ?? new DroidNotificationConfiguration()
            };

            Mvx.RegisterSingleton <INotifications>(instance);

            _loaded = true;
        }