View Single Post
  #1 (permalink)  
Old December 30th, 2008, 03:36 PM
SteveOliverC SteveOliverC is offline
Registered User
Join Date: Dec 2008
Location: Alameda, CA USA
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Default Chapter 2 -- To Do List -- when to use super.onCreate(icicle);?

Eclipse sets up a new Android project with onCreate and includes super.onCreate(savedInstance) as the first line. I see this in the sample code I downloaded, but don't see it on page 40 of the book.

Without this line, the debugger throws a "source not found" error.

My question is, Where is onCreate that we are overriding? and why do we need to do this (was this supposed to be included in page 40)?

Reply With Quote