Forgive a newbie question.

I have a simple little app based on a single SQLite table.  One
activity displays the total of a column in the table.  A menu item
launches a second activity that inserts a row and starts a third
activity with a list of all the entries.  That activity has a menu
item that launches starts the first activity again.

If I follow the menu items everything works fine.  The total comes out
with the new item.   But if I use the back key to go back to the
original activity, the total doesn't update unless I do something like
switch orientation.  I've put all the code that reads the database in
the onStart method, and I see it execute in the debugger.

Can anyone suggest why the update seems to happen in onCreate but not
in onStart?  Or is there something else about the back button?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to