V - The type of MvpViewP - The type of MvpPresenterpublic interface FragmentMvpDelegate<V extends MvpView,P extends <any>>
The following methods must be invoked from the corresponding Fragments lifecycle methods:
| Modifier and Type | Method and Description |
|---|---|
void |
onActivityCreated(android.os.Bundle savedInstanceState)
Must be called from
Fragment#onActivityCreated(Bundle) |
void |
onAttach(android.app.Activity activity)
Must be called from
Fragment#onAttach(Activity) |
void |
onCreate(android.os.Bundle saved)
Must be called from
Fragment#onCreate(Bundle) |
void |
onDestroy()
Must be called from
Fragment#onDestroy() |
void |
onDestroyView()
Must be called from
Fragment#onDestroyView() |
void |
onDetach()
Must be called from
Fragment#onDetach() |
void |
onPause()
Must be called from
Fragment#onPause() |
void |
onResume()
Must be called from
Fragment#onResume() |
void |
onSaveInstanceState(android.os.Bundle outState)
Must be called from
Fragment#onSaveInstanceState(Bundle) |
void |
onStart()
Must be called from
Fragment#onStart() |
void |
onStop()
Must be called from
Fragment#onStop() |
void |
onViewCreated(android.view.View view,
android.os.Bundle savedInstanceState)
Must be called from
Fragment#onViewCreated(View, Bundle) |
void onCreate(android.os.Bundle saved)
Fragment#onCreate(Bundle)saved - The bundlevoid onDestroy()
Fragment#onDestroy()void onViewCreated(android.view.View view,
android.os.Bundle savedInstanceState)
Fragment#onViewCreated(View, Bundle)view - The inflated viewsavedInstanceState - the bundle with the viewstatevoid onDestroyView()
Fragment#onDestroyView()void onPause()
Fragment#onPause()void onResume()
Fragment#onResume()void onStart()
Fragment#onStart()void onStop()
Fragment#onStop()void onActivityCreated(android.os.Bundle savedInstanceState)
Fragment#onActivityCreated(Bundle)savedInstanceState - The saved bundlevoid onAttach(android.app.Activity activity)
Fragment#onAttach(Activity)activity - The activity the fragment is attached tovoid onDetach()
Fragment#onDetach()void onSaveInstanceState(android.os.Bundle outState)
Fragment#onSaveInstanceState(Bundle)