Back to project page screenplay.
The source code is released under:
MIT License
If you think the Android project screenplay 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.davidstemmer.screenplay.sample.mortar.module; // w ww . j av a 2 s . co m import android.app.Application; import com.davidstemmer.screenplay.sample.mortar.scene.transformer.HorizontalSlideTransformer; import dagger.Module; import dagger.Provides; /** * Created by weefbellington on 10/2/14. */ @Module(injects = { HorizontalSlideTransformer.class }) public class ApplicationModule { private final Application application; public ApplicationModule(Application application) { this.application = application; } @Provides Application provideApplication() { return application; } }