← Back to team overview

tomdroid-dev team mailing list archive

Lifecycle

 

Hi,

Quick note on lifecycle elements for tomdroid so far.

I looked at what others did (astrid, OI shopping list and OI Notepad) and I
think that right now in trunk things behave as expected. The major problem
is the reliance of an object being alive (NoteCollection) to ask for notes
but this is not something i'll fix for 0.2.0.

For now, what's in:

- the main activity (note list) is launched using singleTop

- onSaveInstanceState() saves the fact that the warning had been shown or
not

Tested the whole app with "Immediately destroy activities" debug setting
turned on (in the emulator's development tools) and behavior is fine so far.

Comments / suggestions are welcome!

--
Olivier Bilodeau <olivier@xxxxxxxxxxxxxxxxx>