public RealmFriendshipNotiManager() : base()
        {
            try
            {
                NotiType = NotificationType.RealmFriendship;

                Notis.AddRange(GetNotiList <RealmFriendshipNoti>());
            }
            catch (Exception)
            {
                DependencyService.Get <IToast>().Show("Fail to initialize noti manager");
            }
        }
Exemplo n.º 2
0
        public ExpeditionNotiManager() : base()
        {
            try
            {
                NotiType = NotificationType.Expedition;

                Notis.AddRange(GetNotiList <ExpeditionNoti>());
            }
            catch (Exception)
            {
                DependencyService.Get <IToast>().Show("Fail to initialize expedition noti manager");
            }
        }
Exemplo n.º 3
0
        public GardeningNotiManager() : base()
        {
            try
            {
                NotiType = NotificationType.Gardening;

                Notis.AddRange(GetNotiList <GardeningNoti>());

                SaveNotis();
            }
            catch (Exception)
            {
                DependencyService.Get <IToast>().Show("Fail to initialize Gardening noti manager");
            }
        }