I am writing an android library (SDK) which will be consumed by my main application.
The main application has its own application class where all the basic initialization happens like (Dagger and Stetho and other libraries).
My SDK has its own base application class, where application level components are initialized like Dagger 2.10+ (where application class implements HasActivityInjector) and Stetho, Timber, LeakCanary and few other application-level initializations.
Is it possible to have two application classes in android - I guess no, as a single process is created for per app.
I was wondering what would be the best/recommended way to incorporate SDK Application Class in the main application class.
Any help/suggestions on the same would be great!!