public void onRoutineSessionDeleted(int index) { routineService .getService() .deleteRoutineSession( User.instance().getToken(), routineSessionData.dataRemoveTemporary(index), ((RoutineSession) routineSessionData.getDataObject(index)).getRoutineSessionID(), new CallbackScreener(callbackDeleteRoutineSession())); }
public void onSessionExerciseDeleted(SessionExercise sessionExercise) { String requestID = sessionExerciseData.dataRemoveTemporary(sessionExercise.getOrderIndex()); routineService .getService() .deleteSessionExercise( User.instance().getToken(), requestID, sessionExercise.getSessionExerciseID(), new CallbackScreener(callbackDeleteSessionExercise())); }