public class StatisticsActivity
extends Activity
Constructor and Description |
---|
StatisticsActivity() |
Modifier and Type | Method and Description |
---|---|
void |
graphArtist(View view)
Generates Pie Chart showing artists
|
void |
graphData(View view)
The graphData function is called when the Graph button is pressed; it initiates the activity which graphs the data
|
void |
graphGenre(View view)
Generate Pie Charts for Genres
|
void |
graphSong(View view)
Generate Pie Charts for Song
|
protected void |
onCreate(Bundle savedInstanceState)
When the main activity is created, the database is cleared of all records.
|
boolean |
onCreateOptionsMenu(Menu menu) |
public void graphArtist(View view)
view
- public void graphData(View view)
view
- The function takes the current view as a parameter since the initiator is a button press.public void graphGenre(View view)
view
- public void graphSong(View view)
view
- protected void onCreate(Bundle savedInstanceState)
public boolean onCreateOptionsMenu(Menu menu)