コード例 #1
0
 @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) {});
 }
コード例 #2
0
 @Override
 public void getPlantingActivities(Bus bus) {
   apiService.getPlantingActivities(new RestCallback<List<PlantingActivityResponse>>(bus) {});
 }