SyntaxFix
Write A Post
Hire A Developer
Questions
In Kotlin SDK >=1.3 you can do it like
import kotlin.random.Random val number = Random.nextInt(limit)