@Beta public abstract class DaggerFragment extends Fragment implements HasSupportFragmentInjector
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) |
AndroidInjector<Fragment> |
supportFragmentInjector()
Returns an
AndroidInjector of Fragments. |
public void onAttach(Context context)
public AndroidInjector<Fragment> supportFragmentInjector()
HasSupportFragmentInjectorAndroidInjector of Fragments.supportFragmentInjector in interface HasSupportFragmentInjectorCopyright © 2012���2017 The Dagger Authors. All rights reserved.