Пример #1
0
        protected Category(Parcel inObj)
        {
            Name = inObj.ReadString();
            Id   = inObj.ReadString();
            //TODO
//			Theme = (Theme)System.Enum.GetValues ()inObj.ReadInt ();
            Quizzes = new List <Quiz> ();
            inObj.ReadTypedList(Quizzes, Quiz.InitializeCreator());
            Scores = inObj.CreateIntArray();
            Solved = ParcelableHelper.ReadBoolean(inObj);
        }
Пример #2
0
		protected Category (Parcel inObj)
		{
			Name = inObj.ReadString ();
			Id = inObj.ReadString ();
			//TODO
//			Theme = (Theme)System.Enum.GetValues ()inObj.ReadInt ();
			Quizzes = new List<Quiz> ();
			inObj.ReadTypedList (Quizzes, Quiz.InitializeCreator ());
			Scores = inObj.CreateIntArray ();
			Solved = ParcelableHelper.ReadBoolean (inObj);
		}
Пример #3
0
 public OptionsQuiz(Parcel inObj) : base(inObj)
 {
     Answer = inObj.CreateIntArray();
 }
Пример #4
0
		protected Category(Parcel inObj) {
			name = inObj.ReadString();
			id = inObj.ReadString();
			theme = (Theme)(System.Enum.GetValues(typeof(Theme)).GetValue(inObj.ReadInt()));
			quizzes = new List<Quiz>();
			inObj.ReadTypedList(quizzes, Quiz.InitializeCreator());
			scores = inObj.CreateIntArray();
			solved = ParcelableHelper.ReadBoolean(inObj);
		}
 public ToggleTranslateQuiz(Parcel inObj) : base(inObj)
 {
     Answer = inObj.CreateIntArray();
     inObj.ReadStringArray(Options);
     QuizType = QuizType.ToggleTranslate;
 }