• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Wait in a Double for loop

Alright, so this seems pretty simplistic, but I need to "pause" a double for loop, until for example, a dialog box has been closed by clicking "okay".

More specifically, I have a double for loop that will print out data, and I need to be able to, as the loops roll, input the number that I want at that specific place. If you're not sure how to do this, what about inputing an arrayList of numbers in a row? any ideas? thanks!
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones