public abstract class BaseScreen
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected BaseActivity |
activity |
Constructor and Description |
---|
BaseScreen(BaseActivity activity) |
Modifier and Type | Method and Description |
---|---|
void |
finishSelection() |
ProgressBar |
getProgressBar() |
void |
invalidate() |
void |
onResult(int requestCode,
int resultCode,
android.content.Intent data) |
void |
setMenu(BaseMenu menu) |
void |
setRootView(BaseRootView rootView) |
void |
setSelectionMenu(BaseSelectionMenu menu)
Set the menu to be shown when a selection is active on the screen.
|
protected void |
showDialog(AppCompatDialogFragment dialog,
java.lang.String tag) |
void |
showMessage(java.lang.Integer stringId) |
void |
showSendEmailScreen(java.lang.String to,
java.lang.String subject,
java.lang.String content) |
void |
showSendFileScreen(java.lang.String archiveFilename) |
void |
startSelection()
Instructs the screen to start a selection.
|
protected BaseActivity activity
public BaseScreen(BaseActivity activity)
public void finishSelection()
@Nullable public ProgressBar getProgressBar()
public void invalidate()
public void onResult(int requestCode, int resultCode, android.content.Intent data)
public void setMenu(@Nullable BaseMenu menu)
public void setRootView(@Nullable BaseRootView rootView)
public void setSelectionMenu(@Nullable BaseSelectionMenu menu)
menu
- the menu to be shown during a selectionpublic void showMessage(@Nullable java.lang.Integer stringId)
public void showSendEmailScreen(java.lang.String to, java.lang.String subject, java.lang.String content)
public void showSendFileScreen(@NonNull java.lang.String archiveFilename)
public void startSelection()
protected void showDialog(AppCompatDialogFragment dialog, java.lang.String tag)