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

This Adapter helps to show the List of SingleEvents on the MainActivity. More...

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

Classes

class  ViewHolder
 Helps to show the SingleEvents in the MainAdapter.
 

Public Member Functions

 MainAdapter (Context context, ArrayList< SingleEventLocal > eventList)
 Creates a EventAdapter with a SingleEventList that should be shown. More...
 
int getCount ()
 
Object getItem (int arg0)
 
long getItemId (int arg0)
 
View getView (int position, View convertView, ViewGroup parent)
 Creates the ListView with SingleEvents in user defined colors (black as default). More...
 

Detailed Description

This Adapter helps to show the List of SingleEvents on the MainActivity.

Author
Christiane Kuhn

Constructor & Destructor Documentation

unicopa.copa.app.gui.MainAdapter.MainAdapter ( Context  context,
ArrayList< SingleEventLocal eventList 
)

Creates a EventAdapter with a SingleEventList that should be shown.

Parameters
context
eventList

Member Function Documentation

View unicopa.copa.app.gui.MainAdapter.getView ( int  position,
View  convertView,
ViewGroup  parent 
)

Creates the ListView with SingleEvents in user defined colors (black as default).

In the ListView the depending EventGroupName and EventName and also the location, date, time, duration and the supervisor are shown. Updated values are highlighted in red. If the user clicks on a SingleEvent all details of it are shown in the SingleEventActivity.


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