Quote:
Originally Posted by SteveOliverC
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)?
|
Apologies! Yes, it looks like the super.onCreate(icicle) line somehow got dropped from the text on page 40 -- you always need to call super.OnCreate when overriding the onCreate method of an Activity. It should be the first thing called in the overriding method.
The correct technique for overriding onCreate is shown on page 66, or as you point out, in the downloadable code samples.
Sorry again for the confusion, not sure how that snuck through.