Example #1
0
  @Override
  public void loadDataFromWeb() {
    BackgroundExecutor.execute(
        new Runnable() {

          @Override
          public void run() {
            try {
              Agenda_.super.loadDataFromWeb();
            } catch (RuntimeException e) {
              Log.e(
                  "Agenda_",
                  "A runtime exception was thrown while executing code in a runnable",
                  e);
            }
          }
        });
  }
Example #2
0
  @Override
  public void checkUserToken() {
    BackgroundExecutor.execute(
        new Runnable() {

          @Override
          public void run() {
            try {
              LoginActivity_.super.checkUserToken();
            } catch (RuntimeException e) {
              Log.e(
                  "LoginActivity_",
                  "A runtime exception was thrown while executing code in a runnable",
                  e);
            }
          }
        });
  }