package zero.zd.zquestionnaire;

import android.util.Log;

import java.util.ArrayList;

import zero.zd.zquestionnaire.model.QnA;

public class QnaState {

    private static final String TAG = QnaState.class.getSimpleName();
    private static final QnaState sQnaStateInstance = new QnaState();

    private ArrayList<QnA> mQnAList;
    private ArrayList<QnA> mMistakeQnaList;


    public static QnaState getInstance() {
        return sQnaStateInstance;
    }

    private QnaState() {}

    public ArrayList<QnA> getQnAList() {
        return mQnAList;
    }

    public void setQnAList(ArrayList<QnA> qnAList) {
        mQnAList = qnAList;
    }

    public ArrayList<QnA> getMistakeQnaList() {
        return mMistakeQnaList;
    }

    public void setMistakeQnaList(ArrayList<QnA> mistakeQnaList) {
        mMistakeQnaList = mistakeQnaList;
    }
}

@@ -845,11 +845,229 @@
 t;%0A    %7D
+%0A%0A    @Override%0A    public String toString() %7B%0A        String out = %22QNA LIST: %5Cn%22;%0A        for (QnA qna : mQnAList) %7B%0A            out += qna.toString() + %22%5Cn%22;%0A        %7D%0A        out += %22END%22;%0A        return out;%0A    %7D
 %0A%7D%0A

Add toString for QnaState