I didn't really get your question, but if your asking whether to place
the "super.onCreate();" before or after the onCreate method, it's
suppose to go at the beginning. I'm pretty sure by the rules of Java,
the super (aka it's constructor) will need to be executed first before
any other code. Hope this answered your question!

On Jul 31, 7:26 pm, Moto <medicalsou...@gmail.com> wrote:
> 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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to