public void SetupHelper(ScheduleListHandler handler, SelectedScheduleDisplayHelper helper, ScheduleDto dto) { this.selectedDisplayHelper = helper; this.listHandler = handler; this.mySchedule = dto; Text[] textFields = GetComponentsInChildren <Text>(); string[] firstAndLast = dto.GetTaName().Split('_'); handleFirstAndLastNames(firstAndLast); date = dto.GetDate(); scheduleType = dto.GetScheduleType(); textFields[0].text = firstName + " " + lastName; textFields[1].text = date.Split('.')[0]; textFields[2].text = scheduleType; }