V - The type of MvpViewP - The type of MvpPresenterpublic interface ActivityMvpDelegate<V extends MvpView,P extends <any>>
The following methods must be invoked from the corresponding Activities lifecycle methods:
| Modifier and Type | Method and Description |
|---|---|
void |
onContentChanged()
This method must be called from
Activity.onContentChanged() |
void |
onCreate(android.os.Bundle bundle)
This method must be called from
Activity.onCreate(Bundle). |
void |
onDestroy()
This method must be called from
Activity.onDestroy()}. |
void |
onPause()
This method must be called from
Activity.onPause() |
void |
onPostCreate(android.os.Bundle savedInstanceState)
This method must be called from
Activity.onPostCreate(Bundle) |
void |
onRestart()
This method must be called from
Activity.onRestart() |
void |
onResume()
This method must be called from
Activity.onResume() |
void |
onSaveInstanceState(android.os.Bundle outState)
This method must be called from
Activity.onSaveInstanceState(Bundle) |
void |
onStart()
This method must be called from
Activity.onStart() |
void |
onStop()
This method must be called from
Activity.onStop() |
void onCreate(android.os.Bundle bundle)
Activity.onCreate(Bundle).
This method internally creates the presenter and attaches the view to it.void onDestroy()
Activity.onDestroy()}.
This method internally detaches the view from presentervoid onPause()
Activity.onPause()void onResume()
Activity.onResume()void onStart()
Activity.onStart()void onStop()
Activity.onStop()void onRestart()
Activity.onRestart()void onContentChanged()
Activity.onContentChanged()void onSaveInstanceState(android.os.Bundle outState)
Activity.onSaveInstanceState(Bundle)void onPostCreate(android.os.Bundle savedInstanceState)
Activity.onPostCreate(Bundle)