I know how to extend the Application class from my main project, but currently i am extending also from a library project (to uncouple code), so i perform in this way:
1- public class MyMainApplication extends LibraryApp {...
2- public class LibraryApp extends Application {...
And my manifest:
<application
android:name="com.something.MyMainApplication"
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:theme="@style/MyMainAppTheme">
In fact all works well, but i want to know if this coding could be breaking something in the Android architecture or whatever.