예제 #1
0
 private void updateRegisterCounts() {
   NativeUpdateANMDetailsTask task =
       new NativeUpdateANMDetailsTask(Context.getInstance().anmController());
   task.fetch(
       new NativeAfterANMDetailsFetchListener() {
         @Override
         public void afterFetch(HomeContext anmDetails) {
           updateRegisterCounts(anmDetails);
         }
       });
 }
예제 #2
0
  @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();
  }
예제 #3
0
 @Override
 public String name() {
   return Context.getInstance().getStringResource(R.string.str_anc_search_hint);
 }