private void bindEditDetails(int itemidd) { invdb = new InventoryDB(); lstbomodel = invdb.GetEmployee(itemidd); txtName = FindViewById <EditText>(Resource.Id.txtName); txtAge = FindViewById <EditText>(Resource.Id.txtAge); int count = lstbomodel.Count; var getItem = lstbomodel[count - 1]; txtName.Text = getItem.name; txtAge.Text = getItem.age.ToString(); textView1.Text = getItem.ID.ToString(); }