public ArrayList<Record> getNewsfeed() {
		ArrayList<User> myfriends = getFriendList();
		ArrayList<Record> newsFeeds = new ArrayList<Record>();
		for (int i = 0; i < myfriends.size(); i++) {
			User friend = myfriends.get(i);
			newsFeeds.addAll(QuizTakenRecord.getQuizHistoryByUserID(friend.userID));
			newsFeeds.addAll(QuizCreatedRecord.getCreatedQuizByUserID(friend.userID));
			newsFeeds.addAll(AchievementRecord.getAchievementRecordByUserID(friend.userID));
		}
		Collections.sort(newsFeeds, new RecordSortByTime());
		return newsFeeds;
	}