There’s something wrong with firebase that doesn’t allow me to get all the tags if there are only numbers inside.
If I have the structure like this, only with numbers:
It doesn’t let me get anything from inside “alunos”
But if I add a tag with any value below the numbers, then I get all the values.
So I add a “counter” tag with any value (1, for example):
When I get all the tags, if they are all numbers, the last one is the tag “counter”. So I remove the last value from the list of the tags. And there you have the values of all the alunos.
You can put all those values in a Picker and when you select 1, you get the data of that aluno.
The blocks would look something like this:
This way the values of each aluno will appear in the Spinner and when you select it you get all the data.