Per the Android Documentation it states (http://developer.android.com/reference/android/app/Application.html) :
There is normally no need to subclass Application.
My question is that. My app needs to prepare some data (e.g. load some states data from shared preference) at app startup time before it can do anything else. I usually put the data preparation logic in a class that subclasses Application.
If subclassing application is not encouraged, where should I put the app-startup-time data preparation logic? What are the best practices?
Thanks.