Example #1
0
 public CustomPrescriptionsListView(Context mcontext, List <Prescription> prescriptions, bool hasLastElement)
 {
     Context           = mcontext;
     PrescriptionsList = prescriptions;
     ContainsLast      = hasLastElement;
     isAssigned        = true;
     settingsActivity  = (SettingsActivity)mcontext;
 }
            /// <summary>
            /// Method that creates and returns and instance of this dialog
            /// </summary>
            /// <returns></returns>
            public static AddPrescriptionFragment NewInstance(SettingsActivity settingsActivity)
            {
                var dialogFragment = new AddPrescriptionFragment(settingsActivity);

                return(dialogFragment);
            }
 public AddPrescriptionFragment(SettingsActivity settingsActivity)
 {
     this.settingsActivity = settingsActivity;
 }