I have two edittexts and I have to generate random no and randomly show in one of two edittexts. generating random no is ok,but randomly showing in one of the edittext, I donot have any idea. if any one have any hint or any arrticle.,Please help
Jump to Post
If I understand you correctly you need to randomly decide which edit text to display the number in. To decide which one simply generate another random number between 0 and 1. 0 to .49 means first box, .5 - .99 means second text box.
If you'd mentioned which language you …
All 2 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.