Archive

Posts Tagged ‘screen’

Handling progress dialogs and orientation changes

November 14th, 2010 ddewaele 16 comments
ProgressDialogs in Android are easy. At least, that was my initial thought. As long as you don’t change the screen orientation that is. Once you start moving your phone around after – or worse, during – an active progress dialog, you’ll soon find that out that your application isn’t behaving the way it should.
Luckily for us, there are several ways to tackle this.I’ve created a sample application, available on GitHub outlining the problem, and some solutions of dealing with it gracefully. The repository is located here.

Continue reading “Handling progress dialogs and orientation changes” »

Bookmark and Share