Get the Tag values and build a list accodong to the values


#1

image

tag name is the user name in my quiz app
the 6 values in it it contains are the 6 types of quiz games
1 denotes he won
0 denotes nothing

I need to build a list with tag names for each category if the value is 1 seperately


#2

Dear @Ken sir
Can you help me regarding this question


#3

We need more information on what you are looking to do.


#4

image

I want to build a list for the each item along with the name

Here we hve 6 values along with user names. Now we need to build a list like follows. Im showin an example below for the first two values in the list

MINI QUIZ WINNERS

AYESHA
AYESHA
INDIA
INDIA
RAHIM
RAHIM
SHAMEEM

SILVER QUIZ WINNERS

INDIA
RAHIM
RAHIM
SHAMEEM
( Why we have only missed the name AYESHA is because the value at the position no 2 is 0)

GOLD QUIZ WINNERS

SHAMMEM
( Why we have only one name is because of the other values at no 3 are zeros. This user name is the only username which is more than or equal to one.)

Like this I need to make 6 lists for the 6 values along with user names


#5

Hi I reached some more nearer to my problem.
Herewith I am attaching the blocks and result in Firebase also.

Please help regarding this.

image