public void onNameSelected(String name) { if (calledQuickEdit) { company.setName(name); view.setName(name); view.alert("Name changed with quick edit."); calledQuickEdit = false; } }
public void onCompanyUpdated(CompanyBean newBean) { if (newBean.equals(company)) { company = newBean; view.setName(company.getName()); } }
public void setCompany(CompanyBean company) { this.company = company; view.setName(company.getName()); }