moai/moai-dev — Issue #176: Application initialization should be done in the Application class, not the Activity class
Author: seanbhouse
Created: 2012-03-09 20:40:18+00:00
State: open

In our sample, which does not allow rotation, we're ok. However, if your application supports orientation changes, the activity's oncreate method will be called each time the application orientation changes. Some, but not all, initialization may still need to take place in the activity's oncreate method, of course.