@Beta public abstract class DaggerAppCompatActivity extends AppCompatActivity implements HasDispatchingFragmentInjector, HasDispatchingSupportFragmentInjector
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 |
---|---|
DispatchingAndroidInjector<Fragment> |
fragmentInjector()
Returns a
DispatchingAndroidInjector of Fragment s. |
protected void |
onCreate(Bundle savedInstanceState) |
DispatchingAndroidInjector<Fragment> |
supportFragmentInjector()
Returns a
DispatchingAndroidInjector of Fragment s. |
protected void onCreate(Bundle savedInstanceState)
public DispatchingAndroidInjector<Fragment> supportFragmentInjector()
HasDispatchingSupportFragmentInjector
DispatchingAndroidInjector
of Fragment
s.supportFragmentInjector
in interface HasDispatchingSupportFragmentInjector
public DispatchingAndroidInjector<Fragment> fragmentInjector()
HasDispatchingFragmentInjector
DispatchingAndroidInjector
of Fragment
s.fragmentInjector
in interface HasDispatchingFragmentInjector
Copyright © 2012���2017 The Dagger Authors. All rights reserved.