Exemplo n.º 1
0
        public void OverrideExistingTheme(Models.MenuCell themeModel)
        {
            ThemeConfig = themeModel;

            SetupTitle(_title, ThemeConfig.Name);
            SetupBadge(_badge, _badgeView, ThemeConfig.Badge);

            this.SetupStyle(ThemeConfig);
        }
Exemplo n.º 2
0
        protected MenuCell(IntPtr handle)
            : base(handle)
        {
            ThemeConfig = Mvx.Resolve <IMenuThemeConfigService>().ThemeConfig.LeftViewController.MenuTable.MenuCell;

            this.DelayBind(() =>
            {
                InitializeControls();
                BindControls();
            });
        }