Back to project page template-android.
The source code is released under:
MIT License
If you think the Android project template-android 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.org.application.module; /*from w w w .j a va2s .c om*/ import com.org.application.App; import com.org.application.mock.Foo; import com.org.application.mock.IFoo; import com.org.application.ui.activity.MainActivity; import dagger.Module; import dagger.Provides; /** * */ @Module( injects = {App.class, MainActivity.class}, overrides = true, library=true ) public class ReleaseModule { private static final String TAG = ReleaseModule.class.getSimpleName(); @Provides IFoo provideFoo(){ return new Foo(); } }