Difference in onCreate parameter (Bundle)

2

I came across a doubt here reading the book by Ricardo Lecheta, android, in which I did not see an explanation in the book, nor found on the internet. Some examples it uses the onCreate function in this way: onCreate (Bundle icicle) and other onCreate (Bundle savedSInstanceState). Could anyone explain the difference between the two parameters?

    
asked by anonymous 20.04.2014 / 02:45

1 answer

1

The only difference is that the onCreate (Bundle icicle) method is older versions of the Android SDK, while onCreate (Bundle savedSInstanceState) is in newer versions.

Note the following: In both versions, the input parameter is a Bundle, and the only thing that changed was the name of the "variable" given to that input parameter. That is, they are the same thing.

    
21.04.2014 / 15:53