Beispiel #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()));
  }
Beispiel #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()));
  }