@Beta public abstract class DaggerFragment extends Fragment implements HasDispatchingSupportFragmentInjector
Fragment that injects its members in onAttach(Context) and can be used to
inject child Fragments attached to it. Note that when this fragment gets reattached, its
members will be injected again.| Constructor and Description |
|---|
DaggerFragment() |
| Modifier and Type | Method and Description |
|---|---|
void |
onAttach(Context context) |
DispatchingAndroidInjector<Fragment> |
supportFragmentInjector()
Returns a
DispatchingAndroidInjector of Fragments. |
public void onAttach(Context context)
public DispatchingAndroidInjector<Fragment> supportFragmentInjector()
HasDispatchingSupportFragmentInjectorDispatchingAndroidInjector of Fragments.supportFragmentInjector in interface HasDispatchingSupportFragmentInjectorCopyright © 2012���2017 The Dagger Authors. All rights reserved.