max max - 6 days ago 6
Android Question

what is called before onCreate in android


Possible Duplicate:

Android Activity Life Cycle - difference between onPause() and OnStop()




What is called before onCreate in android? So that when I click a tab, I can show a loading screen or some functionality before I actually render my next screen.

Answer

onCreate is the first method to be called from activity ...You can show ur loading screen be setting the proper view in your oncreate method.....

check this:

http://developer.android.com/reference/android/app/Activity.html