List of events displays date and title.

This commit is contained in:
Lars Jansøn Engvik committed 2011-09-14 19:21:16 +02:00
1 parent 9c16bbfa57
commit 9e2995bdf0
3 files changed
+52 -24

No files matched your search

+11 -7
View File
@@ -1,14 +1,14 @@
package com.studentersamfundet.app;
public class Event {
int id;
String title;
String description;
String date;
String location;
String category;
public int id;
public String title;
public String description;
public String date;
public String location;
public String category;
Event(int id, String title, String description, String date, String location, String category) {
public Event(int id, String title, String description, String date, String location, String category) {
this.id = id;
this.title = title;
this.description = description;
@@ -16,4 +16,8 @@ public class Event {
this.location = location;
this.category = category;
}
public String toString() {
return this.title;
}
}