Esempio n. 1
0
        protected override void OnAppearing()
        {
            Children.Add(new NavigationPage(new MercadoDestaques())
            {
                Title = "Mais Escalados" //,
                                         //Icon = Device.OnPlatform("tab_feed.png", null, null)
            });

            Children.Add(new NavigationPage(new Partidas())
            {
                Title = "Partidas" //,
                                   //Icon = Device.OnPlatform("tab_feed.png", null, null)
            });

            // ANDROID

            if (Device.RuntimePlatform == Device.Android)
            {
                BarBackgroundColor = ColorApp.GetColor("Primary");
            }

            base.OnAppearing();
        }
Esempio n. 2
0
 public ColorController(IFactoryConnection connection)
 {
     _connection = connection;
     _ColorApp   = new ColorApp(connection);
 }