Пример #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);
 }