3 ms·
As a developer, testing the multitasking lifecycle of your app can be fairly difficult. I'm surprised Android doesn't make it easier, especially on a device (as
by spearo77 15y ago
As a developer, testing the multitasking lifecycle of your app can be fairly difficult. I'm surprised Android doesn't make it easier, especially on a device (as opposed to the emulator).
For anyone interested in the hoops you have to jump through to force the extended lifecycle situations on a device, check out a recent write up by Theo at Bricolsoft – http://bricolsoftconsulting.com/2011/12/23/how-to-test-onsaveinstancestate-and-onrestoreinstancestate-on-a-real-device/ http://bricolsoftconsulting.com/2011/12/23/how-to-test-onsav...