private void updateRegisterCounts() { NativeUpdateANMDetailsTask task = new NativeUpdateANMDetailsTask(Context.getInstance().anmController()); task.fetch( new NativeAfterANMDetailsFetchListener() { @Override public void afterFetch(HomeContext anmDetails) { updateRegisterCounts(anmDetails); } }); }
@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); logVerbose("Initializing ..."); setContentView(R.layout.login); context = Context.getInstance().updateApplicationContext(this.getApplicationContext()); initializeLoginFields(); initializeBuildDetails(); setDoneActionHandlerOnPasswordField(); initializeProgressDialog(); }
@Override public String name() { return Context.getInstance().getStringResource(R.string.str_anc_search_hint); }