random

  1. LucaMs

    B4A Class [B4X] Class - clsRndItems

    A simple class for randomly picking items from a group without repetitions (but also with repetitions, if desired). It works on all platforms (B4A, B4J, B4I), of course. Main methods: Initialize(..., NumOfItems As Int) Creates, by default, a list of numeric items, from 1 to NumOfItems you...
  2. Myr0n

    Android Code Snippet Get Random Numbers in a non repeating list

    The next code snippet, return a list with non repeating random numbers Feel free to modify or use it as you want. This code depends on JavaObject and Inline Java Code usage. I decide to use the inline java because the Core random function (RND) get stuck at some point, I do not have the Core...
Top