Android Open Source - template-android Release Module






From Project

Back to project page template-android.

License

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.

Java Source Code

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();
    }
}




Java Source Code List

com.org.application.App.java
com.org.application.Modules.java
com.org.application.Modules.java
com.org.application.Modules.java
com.org.application.mock.Foo.java
com.org.application.mock.IFoo.java
com.org.application.mock.MockFoo.java
com.org.application.module.MockFooModule.java
com.org.application.module.ReleaseModule.java
com.org.application.ui.activity.MainActivity.java
com.org.application.util.Log.java