Skip to content

set multiple random background image from drawable -> Exception  #25

@ghost

Description

images randoms:ArrayListOf = [R.drawable.a,R.drawable.b,etc..]
R = random.nextInt(2)

Hey, trying to scratch.setBackroundResource(imageRandom[R]
but I got a crash ... why?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions