public class LoginActivity
extends BaseActivity
The Login Screen that enables the user to log in to the bundesliga-tippspiel Service using an API key, which will be generated during the login process. Credentials can be stored locally on the device, though the API key is stored instead of a password
sharedPreferences
Constructor and Description |
---|
LoginActivity()
The Login Screen that enables the user to log in to the bundesliga-tippspiel
Service using an API key, which will be generated during the login process.
Credentials can be stored locally on the device, though the API key is stored
instead of a password
|
Modifier and Type | Method and Description |
---|---|
void |
onCreate(android.os.Bundle savedInstanceState)
Initializes the Login Activity. Sets the OnClickListener of the
login button and sets the input fields with stored data if available
|
void |
startLoadingAnimation()
Starts the login animation
|
void |
stopLoadingAnimation()
Ends the login animation
|
getSharedPreferences, onCreate, setSharedPreferences, showErrorDialog, startActivity, startLoadingAnimation, stopLoadingAnimation
public LoginActivity()
The Login Screen that enables the user to log in to the bundesliga-tippspiel Service using an API key, which will be generated during the login process. Credentials can be stored locally on the device, though the API key is stored instead of a password
public void onCreate(android.os.Bundle savedInstanceState)
Initializes the Login Activity. Sets the OnClickListener of the login button and sets the input fields with stored data if available
savedInstanceState
- : The Instance Information of the app.public void startLoadingAnimation()
Starts the login animation
public void stopLoadingAnimation()
Ends the login animation