protected override void InitBindings()
        {
            var pages = ViewModel.SettingsPages
                        .Where(entry => entry.PageType != SettingsPageIndex.Caching &&
                               entry.PageType != SettingsPageIndex.Articles &&
                               (Credentials.Authenticated || entry.PageType != SettingsPageIndex.Ads)).ToList();

            pages.Add(new SettingsPageEntry
            {
                Header   = "Did you know?",
                PageType = SettingsPageIndex.Info,
                Subtitle = "Me explaining this UI...",
                Symbol   = SettingsSymbolsEnum.Lightbulb,
            });
            SettingsPageHomepageList.SetAdapter(pages.GetAdapter(GetTemplateDelegate));
        }
Ejemplo n.º 2
0
 protected override void InitBindings()
 {
     SettingsPageHomepageList.SetAdapter(ViewModel.SettingsPages.GetAdapter(GetTemplateDelegate));
 }