public MedicationReminderListAdapter(MedicationListActivity activity, int medicationID) { _activity = activity; _medicationID = medicationID; Log.Info(TAG, "Constructor: Medication ID - " + _medicationID.ToString()); _reminderItems = new List <MedicationSpread>(); GetReminderData(); }
public MedicationReminderDialogFragment(Activity activity, MedicationListActivity fragment, ConstantsAndTypes.PRESCRIPTION_TYPE prescriptionType, ConstantsAndTypes.DAYS_OF_THE_WEEK dayOfWeek, int medicationSpreadID, DateTime reminderTime, string title) { _activity = activity; _fragment = fragment; _prescriptionType = prescriptionType; _dayOfWeek = dayOfWeek; _medicationSpreadID = medicationSpreadID; _reminderTime = reminderTime; Log.Info(TAG, "Constructor, dayOfWeek - " + StringHelper.DayStringForConstant(dayOfWeek) + ", medicationSpreadID - " + medicationSpreadID.ToString()); _dialogTitle = title; }