public override void OnBackPressed() { Person p = new Person() { Id = int.Parse(FindViewById <TextView>(Resource.Id.editPersonId).Text), Fn = FindViewById <EditText>(Resource.Id.editPersonFn).Text, Ln = FindViewById <EditText>(Resource.Id.editPersonLn).Text, Age = int.Parse(FindViewById <EditText>(Resource.Id.editPersonAge).Text) }; db.Update(p); base.OnBackPressed(); }
public void Update(T item) => Handler.Update(item);