Back to project page local-stories.
The source code is released under:
Apache License
If you think the Android project local-stories listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package no.hiof.stud.localstories; //from ww w . j av a2s.com import java.util.ArrayList; public class Library { public static ArrayList<Event> Events = new ArrayList<Event>(); public static ArrayList<Picture> Pictures = new ArrayList<Picture>(); public static void addEvent(Event evt){ Events.add(evt); } public static void addPicture(String picture){ Picture pic = new Picture(picture); Pictures.add(pic); } public static void emptyList(){ Events = new ArrayList<Event>(); Pictures = new ArrayList<Picture>(); } }