Skip to content

Instantly share code, notes, and snippets.

@soundmasteraj
Forked from singhsegv/ActivityModule.java.ftl
Created December 3, 2020 07:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save soundmasteraj/8e709fe23cd2498e0d6a20e4a1380f7d to your computer and use it in GitHub Desktop.
Save soundmasteraj/8e709fe23cd2498e0d6a20e4a1380f7d to your computer and use it in GitHub Desktop.
package ${packageName};
@Module
public abstract class ${className}ActivityModule {
@Binds
@PerActivity
abstract ${className}Contract.Presenter providesPresenter(${className}Presenter presenter);
@Binds
@PerActivity
abstract ${className}Contract.View providesView(${className}Activity activity);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment