In a simple app I have some buttons
(with id.play_sound1 ... 15
), and I want to detect the user click random buttons
for example 5 times.
Can I do it in a simpler way than detect onclick
on each button
?
For example I want to display toast
after user click random 5 buttons
.