How Can I use Count(Question Number) in RecyclerList

i want to give each question number(first question 1 …second question 2) in recyclerlist extension
anyone here can help me in this case?
i don’t want to set a column in database related to number of question…I want to give each question a number when get bind view

Iam using Baserow database to get data

OnbindView event, use the getPosition which will give you the question number

1 Like

thank you
Iam too lazy :no_mouth::broken_heart:
i need another thing using this extension …
I have a quiz app
i want when any button click if the option is right show the right option in yellow color and show the other options in Red Color

i do the right option or wrong option show the color but
the only problem now is how i can make the other options show different color than the right option when I click in only one button(one option) ! ! If you can help me

You should
use if then else block.

When the questiin is clicked get the index, and get correct answer. If the correct answer is matches with clicked one, using id vakue set colours

Eg, if there are four label with id 1,2,3,4 use from to by event block

i am trying to use get data version instead of count because i tried what you are saying but another questions interaction with the first answer !

even after i used the get data

after click in any cardview( in first question everything alright) but why other questions cardviews change his background
i want only the spicific background question cardview

when any cardview click:

when on bindview: I used add items to list

addition blocks when anycardview click(lb1 mean cardview1 = option1, lb2 cardview2 = option2 …)

you can see the problem in app
when click on first option of the first question …the other options in other questions change the background color…:broken_heart:

the criteria is if content of the option is in the same content of the correct answer then the answer is correct
I spent two days without fix this problem please help me