mirror of
https://github.com/bspeice/UNCCGameDay
synced 2025-07-06 08:15:06 -04:00
Add template Javadocs. Needs actual documentation yet.
This commit is contained in:
@ -7,13 +7,25 @@ import android.widget.Toast;
|
||||
|
||||
import com.uncc.gameday.R;
|
||||
|
||||
// TODO: Auto-generated Javadoc
|
||||
/**
|
||||
* The Class Alerts.
|
||||
*/
|
||||
public class Alerts extends MenuActivity {
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see com.uncc.gameday.activities.MenuActivity#onCreate(android.os.Bundle)
|
||||
*/
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.activity_alerts);
|
||||
}
|
||||
|
||||
/**
|
||||
* On click timed alerts.
|
||||
*
|
||||
* @param view the view
|
||||
*/
|
||||
public void onClickTimedAlerts(View view) {
|
||||
int toastDuration = Toast.LENGTH_SHORT;
|
||||
if (((CheckBox) view).isChecked())
|
||||
@ -24,6 +36,11 @@ public class Alerts extends MenuActivity {
|
||||
Toast.makeText(this, "Timed alerts disabled.", toastDuration).show();
|
||||
}
|
||||
|
||||
/**
|
||||
* On click organization alerts.
|
||||
*
|
||||
* @param view the view
|
||||
*/
|
||||
public void onClickOrganizationAlerts(View view) {
|
||||
int toastDuration = Toast.LENGTH_SHORT;
|
||||
if (((CheckBox) view).isChecked())
|
||||
@ -34,6 +51,11 @@ public class Alerts extends MenuActivity {
|
||||
Toast.makeText(this, "Organization alerts disabled.", toastDuration).show();
|
||||
}
|
||||
|
||||
/**
|
||||
* On click university alerts.
|
||||
*
|
||||
* @param view the view
|
||||
*/
|
||||
public void onClickUniversityAlerts(View view) {
|
||||
int toastDuration = Toast.LENGTH_SHORT;
|
||||
if (((CheckBox) view).isChecked())
|
||||
|
Reference in New Issue
Block a user