Exemplo n.º 1
0
        public void Load()
        {
            if (_loaded) return;

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

            Mvx.RegisterSingleton<INotifications>(instance);

            _loaded = true;
        }
Exemplo n.º 2
0
        public void Load()
        {
            if (_loaded)
            {
                return;
            }

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

            Mvx.RegisterSingleton <INotifications>(instance);

            _loaded = true;
        }