Android Open Source - easy-rating-dialog Sample Module






From Project

Back to project page easy-rating-dialog.

License

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.

Java Source Code

package com.github.fernandodev.easyratingdialog.samplewithdagger.dagger;
//from  www.  j a  v a  2s  .  c  o m
import android.content.Context;

import com.github.fernandodev.easyratingdialog.library.EasyRatingDialog;
import com.github.fernandodev.easyratingdialog.samplewithdagger.MainActivity;

import dagger.Module;
import dagger.Provides;

/**
 * Created by fernando on 8/31/14.
 */
@Module(
    injects = {
        //Activities
        MainActivity.class,
    },

    library = true,
    complete = false,
    overrides = false
)
public class SampleModule {
  @Provides EasyRatingDialog provideRatingDialog(@ForActivity Context context) {
    return new EasyRatingDialog(context);
  }
}




Java Source Code List

com.github.fernandodev.easyratingdialog.library.EasyRatingDialog.java
com.github.fernandodev.easyratingdialog.sample.MainActivity.java
com.github.fernandodev.easyratingdialog.samplewithdagger.MainActivity.java
com.github.fernandodev.easyratingdialog.samplewithdagger.Sample.java
com.github.fernandodev.easyratingdialog.samplewithdagger.dagger.ActivityModule.java
com.github.fernandodev.easyratingdialog.samplewithdagger.dagger.ApplicationModule.java
com.github.fernandodev.easyratingdialog.samplewithdagger.dagger.ForActivity.java
com.github.fernandodev.easyratingdialog.samplewithdagger.dagger.ForApplication.java
com.github.fernandodev.easyratingdialog.samplewithdagger.dagger.SampleModule.java