Back to project page ChallengeYourFriends.
The source code is released under:
GNU General Public License
If you think the Android project ChallengeYourFriends listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
import java.util.ArrayList; // w ww. j a v a2s .c o m public class ChallengeArchive { ArrayList<Challenge> challenges = new ArrayList<Challenge>(); public void storeChallenge(Challenge challenge) { System.out.println("CHALLENGE ID (INSIDE ARCHIVE): " + challenge.getId()); challenges.add(challenge.getId(), challenge); } public void displaySavedChallenges() { for(int i = 0; i < challenges.size(); i++) { System.out.println(challenges.get(i).challengeTweet()); } } }