public class ExitUtility
extends DialogFragment
Login
screen. It should be noted that all previous data collected is
deleted after the administrative user press the Restart button on the
DialogFragment. The user may dismiss the fragment by pressing the Cancel
button or simply pressing anywhere on the screen other than the
DialogFragment itself.Modifier and Type | Field and Description |
---|---|
(package private) Dialog |
alert
The instance of the Dialog being presented.
|
(package private) SSCallback |
callback
The instance of the
SSCallback that allows this fragment to
communicate with the parent activity. |
(package private) EditText |
passcode
The EditText where the user enters in the pass code.
|
(package private) Animation |
shake
Holds the shake animation for when the user enters in the wrong pass
code.
|
Constructor and Description |
---|
ExitUtility() |
Modifier and Type | Method and Description |
---|---|
void |
onClick(View v)
Action method for user button presses.
|
Dialog |
onCreateDialog(Bundle savedInstanceState)
The Android life cycle called when the AlertDialog should be displayed to
the user.
|
Dialog alert
SSCallback callback
SSCallback
that allows this fragment to
communicate with the parent activity.EditText passcode
Animation shake
public void onClick(View v)
passcode
EditText is shaken to
signal error.public Dialog onCreateDialog(Bundle savedInstanceState)