@Beta public abstract class DaggerAppCompatActivity extends AppCompatActivity implements HasFragmentInjector, HasSupportFragmentInjector
AppCompatActivity
that injects its members in onCreate(Bundle)
and can be
used to inject Fragment
s attached to it.Constructor and Description |
---|
DaggerAppCompatActivity() |
Modifier and Type | Method and Description |
---|---|
AndroidInjector<Fragment> |
fragmentInjector()
Returns an
AndroidInjector of Fragment s. |
protected void |
onCreate(Bundle savedInstanceState) |
AndroidInjector<Fragment> |
supportFragmentInjector()
Returns an
AndroidInjector of Fragment s. |
protected void onCreate(Bundle savedInstanceState)
public AndroidInjector<Fragment> supportFragmentInjector()
HasSupportFragmentInjector
AndroidInjector
of Fragment
s.supportFragmentInjector
in interface HasSupportFragmentInjector
public AndroidInjector<Fragment> fragmentInjector()
HasFragmentInjector
AndroidInjector
of Fragment
s.fragmentInjector
in interface HasFragmentInjector
Copyright © 2012���2017 The Dagger Authors. All rights reserved.