View Single Post
  #2 (permalink)  
Old March 4th, 2009, 10:53 AM
Reto's Avatar
Reto Reto is offline
Wrox Author
Points: 287, Level: 5
Points: 287, Level: 5 Points: 287, Level: 5 Points: 287, Level: 5
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2008
Location: London, United Kingdom
Posts: 61
Thanks: 1
Thanked 7 Times in 6 Posts
Default

What you're seeing shouldn't cause any problems, it's a hold-over from an earlier release of the SDK which defaulted the parameter name in the onCreate method to 'icicle' rather then 'savedInstanceState'.

Given that what's changed is just the parameter name (rather than the class -- Bundle -- being passed in) you can use either name, as long as you use it consistently if you access it within that method.

Hopefully that's one of the few inconsistencies you'll find, but if you do spot any other problems I'll be more than happy to try and help solve them.
__________________
Reto Meier

Author, "Professional Android 4 Application Development", Wrox, 2012, 2010, 2008
@retomeier
Reply With Quote
The Following User Says Thank You to Reto For This Useful Post:
joopthecat (March 5th, 2009)