public void onSessionExerciseDeleted(SessionExercise sessionExercise) { String requestID = sessionExerciseData.dataRemoveTemporary(sessionExercise.getOrderIndex()); routineService .getService() .deleteSessionExercise( User.instance().getToken(), requestID, sessionExercise.getSessionExerciseID(), new CallbackScreener(callbackDeleteSessionExercise())); }
public void onSessionExerciseChanged(SessionExercise sessionExercise) { String requestID = sessionExerciseData.dataReplaceTemporary(sessionExercise, sessionExercise.getOrderIndex()); routineService .getService() .changeSessionExercise( User.instance().getToken(), requestID, sessionExercise, new CallbackScreener(callbackChangeSessionExercise())); }