Пример #1
0
 public void loadVotes() {
   if (loadVotersTask != null) loadVotersTask.onScreenLoad(this);
   else {
     if (voters != null) displayVoters();
     else loadVotersTask = (LoadRollTask) new LoadRollTask(this, id, "voters").execute("voters");
   }
 }
Пример #2
0
 public void loadRoll() {
   if (loadRollTask != null) loadRollTask.onScreenLoad(this);
   else {
     if (roll != null) displayRoll();
     else
       loadRollTask =
           (LoadRollTask)
               new LoadRollTask(this, id, "basic").execute("basic", "amendment.purpose");
   }
 }