Posts by Sergio Santos • 11 points
3 posts
-
1
votes2
answers896
viewsA: How to make the questions random without repeating and run a specific number of questions?
Excellent explanation, but lacked to explain for the most inattentive that arrays indices begin at 0 and not at 1. That is, an array with 5 values the last Indice will be the number 4. array(0)="1a…
-
0
votes1
answer45
viewsA: Cycle for only runs once inside a while and should always be run
The list depends on the number of firebase records, that is, it is not known. The listThe value is incremented As a new element chosen randomly from the listb is added, that is, whenever the new…
-
0
votes1
answer45
viewsQ: Cycle for only runs once inside a while and should always be run
listaA = new ArrayList <>(); boolean n = true; while (listaA.size() < listab.size()) { Log.i( "while ordena" , String.valueOf( listaA.size() )); valorAl = nRandom.nextInt( listab.size() );…