CopaApp
Change of Plan Application
 All Classes Functions Variables Pages
Public Member Functions | Protected Member Functions | List of all members
unicopa.copa.app.gui.MainActivity Class Reference

In this activity the user sees a list of his next SingleEvents. More...

Inheritance diagram for unicopa.copa.app.gui.MainActivity:
Inheritance graph
Collaboration diagram for unicopa.copa.app.gui.MainActivity:
Collaboration graph

Public Member Functions

void onRefreshButtonClick (View view)
 Loads all updates if the user is logged in. More...
 
boolean onOptionsItemSelected (MenuItem item)
 Handles clicks on a menu-item and switches to other activity, depending on which item was clicked.
 
boolean onCreateOptionsMenu (Menu menu)
 Shows the menu.
 
void onOnlyUpdatesButtonClick (View view)
 Shows only the changes SingleEvents if "Only Updates" is clicked.
 
void onShowMoreButtonClick (View view)
 Shows more SingleEvents if "Only Updates" is clicked.
 

Protected Member Functions

void onCreate (Bundle savedInstanceState)
 Creates MainActivity with a list of the next SingleEvents. More...
 
void onDestroy ()
 

Detailed Description

In this activity the user sees a list of his next SingleEvents.

Author
Christiane Kuhn, Martin Rabe, Robin Muench

Member Function Documentation

void unicopa.copa.app.gui.MainActivity.onCreate ( Bundle  savedInstanceState)
protected

Creates MainActivity with a list of the next SingleEvents.

By clicking on a SingleEvent it switches to SingleEventActivity and shows details about the SingleEvent.If no SingleEvent exists that could be shown an infotext appears. If the "refresh"-button is used it loads all new updates if the user is logged in. If not a dialog reminds the user to log in.

check if settings exists if not create it with default values

void unicopa.copa.app.gui.MainActivity.onRefreshButtonClick ( View  view)

Loads all updates if the user is logged in.

If not a dialog reminds the user to log in.

Parameters
view

The documentation for this class was generated from the following file: