1. Download our Official Android App: Forums for Android!

Apps Wait in a Double for loop

Discussion in 'Android Development' started by Sam Voss, Oct 19, 2010.

  1. Sam Voss

    Sam Voss Android Enthusiast
    Thread Starter
    Rank:
    None
    Points:
    43
    Posts:
    367
    Joined:
    Jun 25, 2010

    Jun 25, 2010
    367
    44
    43
    Programmer, in school
    Wisconsin
    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!
     

    Advertisement

  2. cp1

    cp1 Android Enthusiast
    Rank:
    None
    Points:
    53
    Posts:
    375
    Joined:
    Apr 30, 2010

    Apr 30, 2010
    375
    35
    53

Share This Page

Loading...