Categories
How to implement random text output in a text container in Android?
I am doing my first project on android. I want to make a random text from the array appear in the text node when the button is pressed. How can this be implemented?
Answer the question
In order to leave comments, you need to log in
First, fill an array of Strings with text, then take a string from it at a "random" index, and "put" it into an EditText.
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question