Пример #1
0
  public void onSessionExerciseDeleted(SessionExercise sessionExercise) {

    String requestID = sessionExerciseData.dataRemoveTemporary(sessionExercise.getOrderIndex());

    routineService
        .getService()
        .deleteSessionExercise(
            User.instance().getToken(),
            requestID,
            sessionExercise.getSessionExerciseID(),
            new CallbackScreener(callbackDeleteSessionExercise()));
  }
Пример #2
0
  public void onSessionExerciseChanged(SessionExercise sessionExercise) {

    String requestID =
        sessionExerciseData.dataReplaceTemporary(sessionExercise, sessionExercise.getOrderIndex());

    routineService
        .getService()
        .changeSessionExercise(
            User.instance().getToken(),
            requestID,
            sessionExercise,
            new CallbackScreener(callbackChangeSessionExercise()));
  }