@Beta public abstract class DaggerFragment extends Fragment implements HasDispatchingSupportFragmentInjector
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) |
DispatchingAndroidInjector<Fragment> |
supportFragmentInjector()
Returns a
DispatchingAndroidInjector of Fragment s. |
public void onAttach(Context context)
public DispatchingAndroidInjector<Fragment> supportFragmentInjector()
HasDispatchingSupportFragmentInjector
DispatchingAndroidInjector
of Fragment
s.supportFragmentInjector
in interface HasDispatchingSupportFragmentInjector
Copyright © 2012���2017 The Dagger Authors. All rights reserved.