Exemple #1
0
        public HomeSwitchView()
        {
            model = new HomeSwitchModel(this);
#endif
            InitializeComponent();
            BindingContext = model;
            //stkActivity.SetBinding(IsVisibleProperty, "IsBusy");
            //iaIndicator.SetBinding(ActivityIndicator.IsRunningProperty, "IsBusy");
            _InternetService  = new InternetService(this);
            versionLabel.Text = string.Format(" V{0}", DependencyService.Get <IAppInfo>().GetVersion());
            NavigationPage.SetBackButtonTitle(this, "");
        }
Exemple #2
0
 public HomeSwitchView(Intent sharedIntent)
 {
     SharedIntent = sharedIntent;
     model        = new HomeSwitchModel(this, sharedIntent);