@Override public void savePlantingActivities( Long plantingActivityID, Integer activityTypeID, String input, Double quantity, String location, Date activityDate, Long userID, Long fieldID, Long usnID, Bus bus) { apiService.savePlantingActivities( new PlantingActivity( plantingActivityID, activityTypeID, input, quantity, location, activityDate, userID, fieldID, usnID), new RestCallback<PlantingActivityResponse>(bus) {}); }
@Override public void getPlantingActivities(Bus bus) { apiService.getPlantingActivities(new RestCallback<List<PlantingActivityResponse>>(bus) {}); }