public class MainActivity extends BaseActivity
The Main Activity of the Application. Shows a single die, a settings button and a bar to switch between modes
Constructor and Description |
---|
MainActivity()
The Main Activity of the Application. Shows a single die, a settings button and
a bar to switch between modes
|
Modifier and Type | Method and Description |
---|---|
ClassicDie |
getDie()
The Die displayed on the activity
|
void |
onCreate(android.os.Bundle savedInstanceState)
Initializes the App's Main Activity View.
|
void |
onResume()
Loads the theme whenever the Activity resumes, in case these values have changed
|
void |
setDie(ClassicDie p)
The Die displayed on the activity
|
getPrefs, onCreate, setPrefs
public MainActivity()
The Main Activity of the Application. Shows a single die, a settings button and a bar to switch between modes
public ClassicDie getDie()
The Die displayed on the activity
public void setDie(ClassicDie p)
The Die displayed on the activity
public void onCreate(android.os.Bundle savedInstanceState)
Initializes the App's Main Activity View.
savedInstanceState
- : The Instance Information of the app.public void onResume()
Loads the theme whenever the Activity resumes, in case these values have changed