Created
January 22, 2017 18:35
-
-
Save matzuk/71165b92c55d98e856ee1e4e865f88df to your computer and use it in GitHub Desktop.
2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MainActivity extends Activity { | |
@Inject | |
Presenter presenter; | |
@Override | |
public void onCreate(@Nullable Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
MyApplication.getInstance().getAccountComponent("old account").inject(this); | |
presenter.startLoading(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment