@Beta public abstract class DaggerFragment extends Fragment implements HasSupportFragmentInjector
Fragment
that injects its members in onAttach(Context)
and can be used to
inject child Fragment
s 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 Fragment s. |
public void onAttach(Context context)
public AndroidInjector<Fragment> supportFragmentInjector()
HasSupportFragmentInjector
AndroidInjector
of Fragment
s.supportFragmentInjector
in interface HasSupportFragmentInjector
Copyright © 2012���2017 The Dagger Authors. All rights reserved.