title: Can Android SDK (library) have an application class?
body: <p>I am writing an android library (SDK) which will be consumed by my main application. </p>
  
  <p>The main application has its own application class where all the basic initialization happens like (Dagger and Stetho and other libraries).</p>
  
  <p>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.</p>
  
  <p>Is it possible to have two application classes in android - I guess no, as a single process is created for per app.</p>
  
  <p>I was wondering what would be the best/recommended way to incorporate SDK Application Class in the main application class.</p>
  
  <p>Any help/suggestions on the same would be great!!</p>