@Beta public abstract class DaggerFragment extends android.support.v4.app.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(android.content.Context context) |
AndroidInjector<android.support.v4.app.Fragment> |
supportFragmentInjector()
Returns an
AndroidInjector of Fragment s. |
dump, equals, getActivity, getAllowEnterTransitionOverlap, getAllowReturnTransitionOverlap, getArguments, getChildFragmentManager, getContext, getEnterTransition, getExitTransition, getFragmentManager, getHost, getId, getLayoutInflater, getLoaderManager, getParentFragment, getReenterTransition, getResources, getRetainInstance, getReturnTransition, getSharedElementEnterTransition, getSharedElementReturnTransition, getString, getString, getTag, getTargetFragment, getTargetRequestCode, getText, getUserVisibleHint, getView, hashCode, hasOptionsMenu, instantiate, instantiate, isAdded, isDetached, isHidden, isInLayout, isMenuVisible, isRemoving, isResumed, isVisible, onActivityCreated, onActivityResult, onAttach, onAttachFragment, onConfigurationChanged, onContextItemSelected, onCreate, onCreateAnimation, onCreateContextMenu, onCreateOptionsMenu, onCreateView, onDestroy, onDestroyOptionsMenu, onDestroyView, onDetach, onHiddenChanged, onInflate, onInflate, onLowMemory, onMultiWindowModeChanged, onOptionsItemSelected, onOptionsMenuClosed, onPause, onPictureInPictureModeChanged, onPrepareOptionsMenu, onRequestPermissionsResult, onResume, onSaveInstanceState, onStart, onStop, onViewCreated, onViewStateRestored, registerForContextMenu, requestPermissions, setAllowEnterTransitionOverlap, setAllowReturnTransitionOverlap, setArguments, setEnterSharedElementCallback, setEnterTransition, setExitSharedElementCallback, setExitTransition, setHasOptionsMenu, setInitialSavedState, setMenuVisibility, setReenterTransition, setRetainInstance, setReturnTransition, setSharedElementEnterTransition, setSharedElementReturnTransition, setTargetFragment, setUserVisibleHint, shouldShowRequestPermissionRationale, startActivity, startActivity, startActivityForResult, startActivityForResult, startIntentSenderForResult, toString, unregisterForContextMenu
public void onAttach(android.content.Context context)
onAttach
in class android.support.v4.app.Fragment
public AndroidInjector<android.support.v4.app.Fragment> supportFragmentInjector()
HasSupportFragmentInjector
AndroidInjector
of Fragment
s.supportFragmentInjector
in interface HasSupportFragmentInjector