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