If your library will have many Fragments/Activities, there's also the possibility of using dagger-android without an Application class, but that requires a deep understanding on how Dagger-Android works, and don't advice that route unless you know what you're doing.