protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); // Create your application here SetContentView(Resource.Layout.Message); var intent = Intent; var vm = new MailModelMVC(new PhoneService(this)); var text = FindViewById <TextView> (Resource.Id.expl); var phone = FindViewById <EditText> (Resource.Id.phone); text.Text = vm.Explain; phone.Text = vm.Phone; }
public MessageViewModel() { this.mailModel = new MailModelMVC(null); }