0
I have a problem which is this::
When reading the data from a given Firebase node, I get an undetermined String number. The name of each String
, is the ID
of the User. When returning this data, save them in a ArrayList
, to compare whether Uid X
is on the list like this: arrayList.contains("Uid X")
.
However, the return I have is a true
or a false
for each of the Strings
.
How to make return only a true, or a false after checking every list?
At first it would just move all the code into one
if
, No? I suggest you post snippets of your code - blindly makes it harder for staff to respond!– Daniel
Enjoy and tour, and see more information on how to ask here.
– Daniel