public class AllShows
extends Activity
Modifier and Type | Class and Description |
---|---|
class |
AllShows.AllShowsHeader
Header
|
class |
AllShows.AllShowsRow |
Modifier and Type | Field and Description |
---|---|
static boolean |
IS_VIDEO
A boolean value as to if the user has selected video instead of audio.
|
static java.lang.String[] |
SHOW_LIST
A static array containing corresponding info for the shows.
|
static java.lang.String[] |
SHOW_LIST_AUDIO |
static java.lang.String[] |
SHOW_LIST_VIDEO |
Constructor and Description |
---|
AllShows() |
Modifier and Type | Method and Description |
---|---|
void |
onCreate(Bundle savedInstanceState)
Called when the activity is first created.
|
boolean |
onCreateOptionsMenu(Menu menu)
Called when it is time to create the menu.
|
boolean |
onOptionsItemSelected(MenuItem item)
Called when an item in the menu is pressed.
|
void |
onResume()
Called when the activity is resumed, like when you return from another activity or also when it is first created.
|
boolean |
onSearchRequested()
Called when a search is requested.
|
void |
onStop()
Currently not used
|
public static boolean IS_VIDEO
public static final java.lang.String[] SHOW_LIST
public static final java.lang.String[] SHOW_LIST_AUDIO
public static final java.lang.String[] SHOW_LIST_VIDEO
public void onCreate(Bundle savedInstanceState)
savedInstanceState
- Um I don't even know. Read the Android documentation.public void onResume()
public boolean onSearchRequested()
public void onStop()
public boolean onCreateOptionsMenu(Menu menu)
menu
- Um, the menupublic boolean onOptionsItemSelected(MenuItem item)
item
- The menu item ID that was pressed