how do i make a name randomizer app?
Put your names in a list, then use the
select random item from list
block.
how about the 2nd name
good name
how to read the list to list view?
The method above can introduce duplicates.
You may want to shuffle the original list instead:
Thanks Tim,
Is it because of "pick a random item list" or because of the method for selecting random from list of lists in the post you just indicated.
It is a case of removing the selected random item from the original list on each iteration, otherwise it can be randomly selected again, leading to duplicates in the output list.
So it is a case of selecting random with replacement and without replacement, isn't it? Hence, there could be two output possibilities or usability scenarios. Whichever fit the users requirement. Surely, I will explore this random function and the shuffling List method too.
In last you will be with empty list, if keep deleting items from list which is responsible for populating the listView. You can do this using ListView.AfterPicking block.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.