Search in sources :

Example 1 with FilterBuildsModule

use of com.github.vase4kin.teamcityapp.filter_builds.dagger.FilterBuildsModule in project TeamCityApp by vase4kin.

the class FilterBuildsActivity method onCreate.

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_filter_builds);
    // Injecting presenter
    DaggerFilterBuildsComponent.builder().restApiComponent(((TeamCityApplication) getApplication()).getRestApiInjector()).filterBuildsModule(new FilterBuildsModule(this)).build().inject(this);
    mPresenter.onCreate();
}
Also used : FilterBuildsModule(com.github.vase4kin.teamcityapp.filter_builds.dagger.FilterBuildsModule) TeamCityApplication(com.github.vase4kin.teamcityapp.TeamCityApplication)

Aggregations

TeamCityApplication (com.github.vase4kin.teamcityapp.TeamCityApplication)1 FilterBuildsModule (com.github.vase4kin.teamcityapp.filter_builds.dagger.FilterBuildsModule)1