protected override void OnResume()
        {
            base.OnResume();

            Settings.Load();

            Setup();

            // Tell the service to continue checking again now
            // that we've resumed our launcher
            ExcuseMeService.AllowFireTVHome = false;

            adapter.Reload();

            textDate.Visibility    = Settings.Instance.HideDate ? ViewStates.Gone : ViewStates.Visible;
            textTime.Visibility    = Settings.Instance.HideTime ? ViewStates.Gone : ViewStates.Visible;
            imageLogo.Visibility   = Settings.Instance.HideFiredTVLogo ? ViewStates.Gone : ViewStates.Visible;
            dividerLine.Visibility = Settings.Instance.HideHomeDividerLine ? ViewStates.Gone : ViewStates.Visible;

            timerUpdate.Change(TimeSpan.FromSeconds(10), TimeSpan.FromSeconds(10));
        }
Exemple #2
0
        protected override void OnResume()
        {
            base.OnResume();

            Settings.Instance.Load();

            Setup();

            // Tell the service to continue checking again now
            // that we've resumed our launcher
            ExcuseMeService.AllowFireTVHome = false;

            AndroidHUD.AndHUD.Shared.Show(this, "Loading...");

            adapter.Reload();

            AndroidHUD.AndHUD.Shared.Dismiss(this);

            textDate.Visibility = Settings.Instance.HideDate ? ViewStates.Gone : ViewStates.Visible;
            textTime.Visibility = Settings.Instance.HideTime ? ViewStates.Gone : ViewStates.Visible;

            timerUpdate.Change(TimeSpan.FromSeconds(10), TimeSpan.FromSeconds(10));
        }