@@ -0,0 +1,2475 @@
+/*%0A * Copyright 2016 Farbod Salamat-Zadeh%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *     http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0A%0Apackage com.satsumasoftware.flashcards.framework.topic;%0A%0Aimport android.content.Context;%0Aimport android.os.Parcel;%0Aimport android.os.Parcelable;%0A%0Aimport com.satsumasoftware.flashcards.framework.Course;%0Aimport com.satsumasoftware.flashcards.framework.flashcard.FlashCard;%0A%0Aimport java.util.ArrayList;%0A%0Apublic class FullContentTopic implements Topic %7B%0A%0A    private Course mCourse;%0A%0A    public FullContentTopic(Course course) %7B%0A        mCourse = course;%0A    %7D%0A%0A%0A    @Override%0A    public int getId() %7B%0A        return 0;%0A    %7D%0A%0A    @Override%0A    public String getIdentifier() %7B%0A        return %220-all%22;%0A    %7D%0A%0A    @Override%0A    public String getName() %7B%0A        return %22All subject content%22;%0A    %7D%0A%0A    @Override%0A    public Course getCourse() %7B%0A        return mCourse;%0A    %7D%0A%0A    @Override%0A    public ArrayList%3CFlashCard%3E getFlashCards(Context context) %7B%0A        ArrayList%3CFlashCard%3E allFlashCards = new ArrayList%3C%3E();%0A        for (Topic courseTopic : mCourse.getTopics(context)) %7B%0A            ArrayList%3CFlashCard%3E topicFlashCards = courseTopic.getFlashCards(context);%0A            allFlashCards.addAll(topicFlashCards);%0A        %7D%0A        return allFlashCards;%0A    %7D%0A%0A%0A    protected FullContentTopic(Parcel in) %7B%0A        mCourse = in.readParcelable(Course.class.getClassLoader());%0A    %7D%0A%0A    public static final Parcelable.Creator%3CFullContentTopic%3E CREATOR = new Parcelable.Creator%3CFullContentTopic%3E() %7B%0A        @Override%0A        public FullContentTopic createFromParcel(Parcel in) %7B%0A            return new FullContentTopic(in);%0A        %7D%0A%0A        @Override%0A        public FullContentTopic%5B%5D newArray(int size) %7B%0A            return new FullContentTopic%5Bsize%5D;%0A        %7D%0A    %7D;%0A%0A    @Override%0A    public int describeContents() %7B%0A        return 0;%0A    %7D%0A%0A    @Override%0A    public void writeToParcel(Parcel dest, int flags) %7B%0A        dest.writeParcelable(mCourse, flags);%0A    %7D%0A%7D%0A

Add FullContentTopic.java