public void loadVotes() { if (loadVotersTask != null) loadVotersTask.onScreenLoad(this); else { if (voters != null) displayVoters(); else loadVotersTask = (LoadRollTask) new LoadRollTask(this, id, "voters").execute("voters"); } }
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"); } }