// when we navigate to the a ViewModel, we have a reserved method named called
 // "Init" and you can expect it to be called with some kind of "Nav" object
 // (which is why we created NavParams above)
 public void Init(NavParams navigationParams)
 {
     // note that the reason we don't pass the entire navigation object across
     // is because this navigation itself needs to be serializable,
     // needs to work across application restarts,
     // and you can't do that with a real object, have to do it with a key (like this Id) instead.
     ProjectDescription = navigationParams.InitialDescription;
 }
Example #2
0
 public LoginPage(NavController navCtrl,
                  NavParams navParams,
                  ToastController toastCtrl,
                  LoadingController loadingCtrl,
                  FormBuilder formBuilder,
                  AuthenticationService authService)
 {
 }
Example #3
0
 // when we navigate to the a ViewModel, we have a reserved method named called
 // "Init" and you can expect it to be called with some kind of "Nav" object
 // (which is why we created NavParams above)
 public void Init(NavParams navigationParams)
 {
     // note that the reason we don't pass the entire navigation object across
     // is because this navigation itself needs to be serializable,
     // needs to work across application restarts,
     // and you can't do that with a real object, have to do it with a key (like this Id) instead.
     ProjectDescription = navigationParams.InitialDescription;
 }
Example #4
0
        // when we navigate to the a ViewModel, we have a reserved method named called
        // "Init" and you can expect it to be called with some kind of "Nav" object
        // (which is why we created NavParams above)
        public void Init(NavParams navigationParams)
        {
            // note that the reason we don't pass the entire navigation object across
            // is because this navigation itself needs to be serializable,
            // needs to work across application restarts,
            // and you can't do that with a real object, have to do it with a key (like this Id) instead.
            ItemOfStuff = _inboxService.GetByStuffId(navigationParams.StuffId);

            ActionOutcome = _itemOfStuff.StuffDescription;

            // Set the initial Project Name to whatever the StuffDescription was
            ProjectName = _itemOfStuff.StuffDescription;
        }
        // when we navigate to the a ViewModel, we have a reserved method named called
        // "Init" and you can expect it to be called with some kind of "Nav" object
        // (which is why we created NavParams above)
        public void Init(NavParams navigationParams)
        {
            // note that the reason we don't pass the entire navigation object across
            // is because this navigation itself needs to be serializable,
            // needs to work across application restarts,
            // and you can't do that with a real object, have to do it with a key (like this Id) instead.
            ItemOfStuff = _inboxService.GetByStuffId(navigationParams.StuffId);

            ActionOutcome = _itemOfStuff.StuffDescription;

            // Set the initial Project Name to whatever the StuffDescription was
            ProjectName = _itemOfStuff.StuffDescription;
        }
Example #6
0
 public LoginSuccessfulPage(NavController navCtrl, NavParams navParams)
 {
 }