Added README.txt and GPL Header to Source Files
[DHBWCampusApp.git] / app / src / main / java / de / dhbwloe / campusapp / fragments / VorlesungsplanExamsListAdapter.java
index a880be8bf9bb3ea9e13e016d332173a18947f9c8..354167ea5331787553829d68189eb5e5c9d1f250 100644 (file)
@@ -1,5 +1,19 @@
+/* VorlesungsplanExamsListAdapter.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.fragments;
-
 import android.content.Context;
 import android.view.LayoutInflater;
 import android.view.View;
@@ -49,6 +63,7 @@ public class VorlesungsplanExamsListAdapter extends ArrayAdapter<VorlesungsplanE
             holder.eventDate.setText(item.getEventDate());
             holder.eventStart.setText(item.getEventStart());
             holder.eventEnd.setText(item.getEventEnd());
+            holder.eventLocation.setText(item.getEventLocation());
 
             return row;
             }
@@ -56,12 +71,14 @@ public class VorlesungsplanExamsListAdapter extends ArrayAdapter<VorlesungsplanE
     static class RecordHolder {
         TextView groupName;
         TextView eventDate;
+        TextView eventLocation;
         TextView eventStart;
         TextView eventEnd;
 
         public RecordHolder(View view) {
             this.groupName = (TextView) view.findViewById(R.id.courseTitle);
             this.eventDate = (TextView) view.findViewById(R.id.eventDate);
+            this.eventLocation = (TextView) view.findViewById(R.id.eventLocation);
             this.eventStart = (TextView) view.findViewById(R.id.eventStart);
             this.eventEnd = (TextView) view.findViewById(R.id.eventEnd);
         }