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