public abstract class Screen<ApplicationComponent>
extends java.lang.Object
| Constructor and Description |
|---|
Screen() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Presenter<?,?> |
createPresenter(int viewId) |
protected android.view.View |
createView(android.view.ViewGroup parent) |
protected ApplicationComponent |
getApplicationComponent() |
protected abstract int |
getLayoutResId() |
Presenter<?,?> |
getPresenter(int viewId) |
protected void |
onAttach(android.app.Activity activity) |
protected boolean |
onBackPressed() |
protected void |
onCreate() |
protected void |
onDestroy() |
protected void |
onDetach(android.app.Activity activity) |
@LayoutRes protected abstract int getLayoutResId()
@NonNull
protected android.view.View createView(@NonNull
android.view.ViewGroup parent)
@NonNull public Presenter<?,?> getPresenter(int viewId)
@NonNull protected abstract Presenter<?,?> createPresenter(int viewId)
@NonNull protected final ApplicationComponent getApplicationComponent()
protected void onCreate()
protected void onAttach(@NonNull
android.app.Activity activity)
protected boolean onBackPressed()
protected void onDetach(@NonNull
android.app.Activity activity)
protected void onDestroy()