Saturday, July 31, 2010

[android-developers] onCreate, onStop..... super.onCreate, super.onStop... called before code or after?

This might be a simple question but I'm seeing the super call at the
end of the overwritten function and also at the start of the
function. What is recommended? any differences on this?

I feel very beginner with this question... :P

i.e.

@Override
protected void onCreate)
{
super.onCreate();
// some code
}

or

@Override
protected void onCreate()
{
// some code
super.onCreate();
}

-Moto

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate