public class TimelineActivity
extends Activity
History class after an item supporting timeline has been clicked on by the user| Constructor and Description |
|---|
TimelineActivity() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
dispatchKeyEvent(KeyEvent event)
Called for dispatching key events sent to the Activity
|
void |
onClick(View v)
Called when a button has been clicked on by the user
|
void |
onConfigurationChanged(Configuration newConfig)
Called when the configuration of the activity has changed.
|
void |
onCreate(Bundle savedInstanceState)
Called when the activity is first created.
|
void |
onDateSet(DatePicker view,
int year,
int monthOfYear,
int dayOfMonth)
Called when date is set in
DatePicker |
void |
onDestroy()
Called when the activity is destroyed.
|
boolean |
onOptionsItemSelected(MenuItem item)
Called when an option menu item has been selected by the user
|
void |
onPause()
Called when the activity is paused.
|
boolean |
onPrepareOptionsMenu(Menu menu)
Called when the Options menu is opened
|
void |
onResume()
Called when the activity is resumed.
|
void |
onStop()
Called when the activity is stopped.
|
void |
onTimeSet(TimePicker view,
int hourOfDay,
int minute)
Called when time is set in
TimePicker |
boolean |
onTouch(View v,
MotionEvent me)
Called when touch event occurred
|
public void onCreate(Bundle savedInstanceState)
savedInstanceState - a Bundle of the saved state, according to Android lifecycle modelpublic void onResume()
public void onPause()
public void onStop()
public void onDestroy()
public void onConfigurationChanged(Configuration newConfig)
newConfig - new configuration after changepublic boolean onPrepareOptionsMenu(Menu menu)
menu - Reference to the Menupublic void onClick(View v)
v - Reference to the View of the buttonpublic void onTimeSet(TimePicker view,
int hourOfDay,
int minute)
TimePickerview - Reference to TimePicker viewhourOfDay - hour of day being chosenminute - minute of hour being chosenpublic void onDateSet(DatePicker view,
int year,
int monthOfYear,
int dayOfMonth)
DatePickerview - Reference to DatePicker viewyear - year being chosenmonthOfYear - month of the year being chosendayOfMonth - day of the month being chosenpublic boolean onOptionsItemSelected(MenuItem item)
item - Reference to the MenuItem clicked onpublic boolean dispatchKeyEvent(KeyEvent event)
event - Reference to the KeyEvent being pressedpublic boolean onTouch(View v,
MotionEvent me)
v - Reference to the View that has focusme - Reference to the MotionEvent of the touch event