Back to project page easy-rating-dialog.
The source code is released under:
Apache License
If you think the Android project easy-rating-dialog 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.github.fernandodev.easyratingdialog.samplewithdagger.dagger; /* w ww .j a va 2s. c o m*/ import android.content.Context; import com.github.fernandodev.easyratingdialog.samplewithdagger.Sample; import javax.inject.Singleton; import dagger.Module; import dagger.Provides; /** * Created by fernando on 8/31/14. */ @Module(library = true) public class ApplicationModule { private Sample app; public ApplicationModule(Sample application) { app = application; } @Provides @Singleton Context provideApplicationContext() { return app; } }