public static void InitApp()
 {
     Credentials.Init();
     HtmlClassMgr.Init();
     FavouritesManager.LoadData();
     AnimeImageQuery.Init();
     ViewModelLocator.ForumsMain.LoadPinnedTopics();
     if (Settings.NotificationCheckInRuntime && Credentials.Authenticated)
     {
         ResourceLocator.SchdeuledJobsManger.StartJob(ScheduledJob.FetchNotifications, 5, () =>
         {
             ResourceLocator.NotificationsTaskManager.CallTask(BgTasks.Notifications);
         });
     }
     ResourceLocator.HandyDataStorage.Init();
 }
        public static async Task InitApp()
        {
            ResourceLocator.ConnectionInfoProvider.Init();
            Credentials.Init();
            FavouritesManager.LoadData();
            AnimeImageQuery.Init();
            ViewModelLocator.ForumsMain.LoadPinnedTopics();
            await ResourceLocator.AiringInfoProvider.Init(false);

            if (Settings.NotificationCheckInRuntime && Credentials.Authenticated)
            {
                ResourceLocator.SchdeuledJobsManger.StartJob(ScheduledJob.FetchNotifications, 5, () =>
                {
                    ResourceLocator.NotificationsTaskManager.CallTask(BgTasks.Notifications);
                });
            }
            ResourceLocator.HandyDataStorage.Init();
            AwaitableCompletion.SetResult(true);
        }