3 ms·
the author makes a mistake...in async tasks you want to handle the device orientation properly so that when the activity recreates upon device changing form lan
by shareme 15y ago
the author makes a mistake...in async tasks you want to handle the device orientation properly so that when the activity recreates upon device changing form landscape to portrait that one can resume the asynctask and still retrieve the cached images..
- cacois 15y agoThis is a very good point, just beyond the level I have gone to with these tutorials thus far. When I first considered an example app, to do it "right" was a fairly large project that wasn't easily digestible in tutorial form. This is a limitation I plan to address in the future, though the whole progression of adding more and more code to take care of such things underscores the need for more comprehensive development frameworks for android. I'm hoping to move towards using one of the better frameworks like DroidFu soon, and hopefully I will get most of this sort of functionality for free. If not, at least I can help contribute some code to the cause.