Android Open Source - ChallengeYourFriends Challenge Archive






From Project

Back to project page ChallengeYourFriends.

License

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.

Java Source Code

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());
    }
  }
}




Java Source Code List

.ChallengeArchive.java
.ChallengeFriends.java
.Challenge.java
.CreateChallenge.java
.LogIn.java
.LogOut.java
.User.java
com.cyf.challengeyourfriends.ChallengeFriend.java
com.cyf.challengeyourfriends.ChooseFriendDialog.java
com.cyf.challengeyourfriends.ChooseFriendFrag.java
com.cyf.challengeyourfriends.FriendMan.java
com.cyf.challengeyourfriends.LoginActivity.java
com.cyf.challengeyourfriends.MainActivity.java
com.cyf.challengeyourfriends.MenuActivity.java
com.cyf.challengeyourfriends.ViewChallenges.java
.test.java