Hi, I understand it as a way to “update and restart” the index value (mCurrentIndex) so for example if the current mCurrentIndex value is, lets say 1 and the Bank.length is 10 you would have:
mCurrentIndex = (1+1)%10, so it “updates” the index to 2 (i.e. the next question in the array),
the same goesfor every index until you reach the last question.
In this case you would have a remainder % of 0, and the index would “restar” all over again, showing you once again the first question in your question array.
Can anyone tell me if I´m right or wrong? Thanks to all.