diff --git a/Android Studio Files/app/src/main/java/com/cs192/upcc/InputSubjectFragment.java b/Android Studio Files/app/src/main/java/com/cs192/upcc/InputSubjectFragment.java index a1f5e85..5bcb2a2 100644 --- a/Android Studio Files/app/src/main/java/com/cs192/upcc/InputSubjectFragment.java +++ b/Android Studio Files/app/src/main/java/com/cs192/upcc/InputSubjectFragment.java @@ -198,7 +198,7 @@ public View onCreateView(LayoutInflater inflater, ViewGroup container, /* Pass title to the activity, receive curriculum from the activity */ passTitle("Mark Subjects"); curriculum = ((MainDrawer) getActivity()).getCurriculum(); - Log.d("curriculum", curriculum.getName()); + //Log.d("curriculum", curriculum.getName()); // Inflate the layout for this fragment UPCCdb = new DatabaseHelper(getActivity()); UPCCdb.createDB(); diff --git a/Android Studio Files/app/src/main/java/com/cs192/upcc/SelectCurriculumFragment.java b/Android Studio Files/app/src/main/java/com/cs192/upcc/SelectCurriculumFragment.java index a382c6d..87d2e07 100644 --- a/Android Studio Files/app/src/main/java/com/cs192/upcc/SelectCurriculumFragment.java +++ b/Android Studio Files/app/src/main/java/com/cs192/upcc/SelectCurriculumFragment.java @@ -135,7 +135,6 @@ public void onAttach(Context context) { @Override public void onDetach() { super.onDetach(); - getCurriculumFromList(false); } /* @@ -230,7 +229,6 @@ public void onClick(View view) { /* Setup the first curriculum to be the default on start of the activity */ CheckBox init = v.findViewById(1); init.toggle(); - getCurriculumFromList(false); return v; } /*