Back to project page UpcomingMoviesMVP.
The source code is released under:
Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Defi...
If you think the Android project UpcomingMoviesMVP 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.jlmd.android.newfilmsmvp.ui.activity; /* w w w . j ava 2 s . c o m*/ import android.os.Bundle; import android.support.v7.app.ActionBarActivity; import com.jlmd.android.newfilmsmvp.di.AppApplication; /** * @author jlmd */ public class BaseActivity extends ActionBarActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); injectDependencies(); } private void injectDependencies() { ((AppApplication) getApplicationContext()).inject(this); } }