Back to project page u2020.
The source code is released under:
Apache License
If you think the Android project u2020 listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.jakewharton.u2020; /*from www .j av a2 s. co m*/ import android.app.Application; import com.jakewharton.u2020.data.DataModule; import com.jakewharton.u2020.ui.UiModule; import dagger.Module; import dagger.Provides; import javax.inject.Singleton; @Module( includes = { UiModule.class, DataModule.class }, injects = { U2020App.class } ) public final class U2020Module { private final U2020App app; public U2020Module(U2020App app) { this.app = app; } @Provides @Singleton Application provideApplication() { return app; } }