public class BetActivity
extends AuthorizedActivity
This activity allows a user to place bets, as well as view already placed bets
apiConnection
sharedPreferences
Constructor and Description |
---|
BetActivity()
This activity allows a user to place bets, as well as view already placed bets
|
Modifier and Type | Method and Description |
---|---|
void |
onCreate(android.os.Bundle savedInstanceState)
Initializes the Activity. Sets the OnClickListeners for the buttons and starts
fetching bet and match data asynchronously.
Sets the username and apiKey instance variables
|
void |
startLoadingAnimation()
Starts the loading animation
|
void |
stopLoadingAnimation()
Stops the loading animation
|
getApiConnection, logout, onCreate, setApiConnection
getSharedPreferences, onCreate, setSharedPreferences, showErrorDialog, startActivity, startLoadingAnimation, stopLoadingAnimation
public BetActivity()
This activity allows a user to place bets, as well as view already placed bets
public void onCreate(android.os.Bundle savedInstanceState)
Initializes the Activity. Sets the OnClickListeners for the buttons and starts fetching bet and match data asynchronously. Sets the username and apiKey instance variables
savedInstanceState
- : The Instance Information of the app.public void startLoadingAnimation()
Starts the loading animation
public void stopLoadingAnimation()
Stops the loading animation