This week's book giveaways are in the Scala and Android forums. We're giving away four copies each of Machine Learning Systems: Designs that scale and Xamarin in Action: Creating native cross-platform mobile apps and have the authors on-line! See this thread and this one for details.
In my application a problem comes up with checking a Boolean here is the situation: - A class that uses the Boolean that needs to run another piece of code if it comes out true but the class is instantiated once and could possibly need a code rewrite to call easily call methods to that class. If necessary ill take that route
- Attempted to turn it into some sort of while check/loop until the class finishes all the code necessary. The while loop seems to stop graphics even with graphics repaints/updates in the waiting loop which I assumes fails because the repaints possibly goes into another thread that cannot run with the while loop in the main thread taking up to much.
- My last option is to use a Change Listeners but I'm unsure if it will work with a Boolean.
Could a change listener work with a Boolean, or should I just work on another method? Thanks.