public static void Schedule <T>(Noti noti) where T : Noti { NotifierAndroid notifier = new(); DateTime now = DateTime.Now; if (noti.NotiTime > now) { Notification notification = new() { Title = noti.GetNotiTitle(), Text = noti.GetNotiText(), Id = noti.NotiId, NotifyTime = noti.NotiTime }; notification.SetType <T>(); notifier.Notify(notification); } }