2
I had a doubt here reading Ricardo Lecheta’s book, android, in which I saw no explanation neither in the book, nor found on the internet. Some examples use the onCreate function like this: onCreate(Bundle Icicle) and other onCreate(Bundle savedSInstanceState). Could someone explain the difference between the two parameters?
The two are of the same type, so, equal, now the difference is in the spelling that can symbolize something in programming, something proper or following some rule
– user6026
So I use either one of the two that won’t affect anything, correct?
– João Neto
Yes, because, what counts is
Bundle
the name of the variable does not matter in this aspect. Now it can symbolize how I said a rule or something of his own to know the difference in the code or something like that– user6026
Got it, thanks man.
– João Neto