How to listen or poll for an event
<p>I have an Android app in which I'd like to display a fullscreen ad as soon as it becomes available. The ad network's SDK allows me to call a "ready" method to determine whether the ad is ready to display; it returns a boolean. How do I listen for this? Should I be polling this method every few seconds? What's the best Android practice to do this?</p>
