Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Async injection with Dagger 2 and RxJava
public class SplashActivity extends BaseActivity {
SplashActivityPresenter presenter;
AnalyticsManager analyticsManager;
protected void onCreate(Bundle savedInstanceState) {
//This method is called in super.onCreate() method
protected void setupActivityComponent() {
final SplashActivityComponent splashActivityComponent = GithubClientApplication.get(SplashActivity.this)
.plus(new SplashActivityModule(SplashActivity.this));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.