예제 #1
0
 public void onRoutineSessionDeleted(int index) {
   routineService
       .getService()
       .deleteRoutineSession(
           User.instance().getToken(),
           routineSessionData.dataRemoveTemporary(index),
           ((RoutineSession) routineSessionData.getDataObject(index)).getRoutineSessionID(),
           new CallbackScreener(callbackDeleteRoutineSession()));
 }
예제 #2
0
  public void onSessionExerciseDeleted(SessionExercise sessionExercise) {

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

    routineService
        .getService()
        .deleteSessionExercise(
            User.instance().getToken(),
            requestID,
            sessionExercise.getSessionExerciseID(),
            new CallbackScreener(callbackDeleteSessionExercise()));
  }