SMILEConsortium / smile_teacher_android

The SMILE Teacher Android App
http://www.smileconsortium.org
Apache License 2.0
1 stars 2 forks source link

If the teacher uses a prepared question, and new questions are added by students, questions are out of order #93

Closed truedat101 closed 10 years ago

truedat101 commented 10 years ago

Load prepared questions. For example, load 3 question iqset.

q1 q2 q3

If student adds a new question, it shows up:

q4 q1 q2 q3

Now, at this point, it's not a big deal. We could resort the list (we should put any new questions at the end of the list).

But the real serious problem comes when a teacher tries to delete q4. What do you think will happen? It should delete q4. But q4 stays in the list. I believe it deletes q1 (at index 0), matching the location of q4 in the list view. Please sort out the proper behavior.

truedat101 commented 10 years ago

can you make sure that if a student adds a question during START_MAKE, that the first question is first in the list, and the last question received is the last in the list?

truedat101 commented 10 years ago

Newest question should go to the top of the list unless the question # is going to going to match the row number. I'll take a look at the fix for #92.

truedat101 commented 10 years ago

Can't reproduce now, maybe fixed by #92. Questions submitted during start make are received and go to the bottom of the list.