Hello.
I made a quiz app that gets data from airtable and store offline using tinydb and lists.
I want it to be random but it still shows duplicates.
Like it shows index 2 for three times and I want it to only be showed once for every index.
here are my blocks:
Update:
here are a few of my blocks that maybe causing the problem.
Vaibhav
(Vaibhav)
April 2, 2020, 12:17pm
#2
Check if this snippet by @Taifun helps you in any way
How to pick a random item from a list without picking duplicates?
Or
The RemoveDuplicate method in ListUtils extension by Appybuilder can also help
2 Likes
it can’t do the trick. tried that before. sorry.
Vishwas
(Vishwas Adiga)
April 2, 2020, 1:03pm
#4
Why exactly is the provided solution not working for you? Error messages would help
1 Like
No error message. it just shows the already shown item
updated the post. few of my blocks might be causing the problem.
Vaibhav
(Vaibhav)
April 2, 2020, 2:37pm
#7
You are using the indicator.Text
block even before it gets any value. I think this may be the problem. Also the blocks are not arranged as per the snippet/provided(if you are taking it as a reference)
idietherdave:
Hello.
I made a quiz app that gets data from airtable and store offline using tinydb and lists.
I want it to be random but it still shows duplicates.
Like it shows index 2 for three times and I want it to only be showed once for every index.
here are my blocks:
Update:
here are a few of my blocks that maybe causing the problem.
idietherdave:
Hello.
I made a quiz app that gets data from airtable and store offline using tinydb and lists.
I want it to be random but it still shows duplicates.
Like it shows index 2 for three times and I want it to only be showed once for every index.
here are my blocks:
Update:
here are a few of my blocks that maybe causing the problem.
Please help me here… I have been doing same but i am stuck in indicator part that he has kept in his block. How do put indicator to my quiz??
My blocks aren’t optimized but its working ,
Can you please help me by showing three more of your blocks… Initialize, call spreadsheet and quiz button click… I am little stuck
help me here… I need to make my questions random.
Taifun
May 30, 2020, 4:15pm
#13
1 Like
Yoshi
(KidKoder)
May 30, 2020, 4:38pm
#14
… so this topic is over the top and can be closed. Am I right?
Yoshi
EDIT (following @Taifun ’s reply): It’s sufficent if a solutionis marked.
1 Like
Taifun
May 30, 2020, 4:41pm
#15
Yoshi:
can be closed
topics usually close automatically after a while…
you don’t have to remind anyone to close topics… thank you…
Taifun
2 Likes
system
(system)
Closed
June 29, 2020, 4:41pm
#16
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.