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

This Adapter helps to show the List of Events. More...

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

Classes

class  ViewHolder
 Helps to show the events in the SearchResultEventAdapter.
 

Public Member Functions

 SearchResultEventAdapter (Context context, ArrayList< Event > eventList, String name)
 Creates a SearchResultEventAdapter with a EventList 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 Events. More...
 

Detailed Description

This Adapter helps to show the List of Events.

Author
Christiane Kuhn, Martin Rabe

Constructor & Destructor Documentation

unicopa.copa.app.gui.SearchResultEventAdapter.SearchResultEventAdapter ( Context  context,
ArrayList< Event eventList,
String  name 
)

Creates a SearchResultEventAdapter with a EventList that should be shown.

Parameters
context
eventList
name

Member Function Documentation

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

Creates the ListView with Events.

The name and two buttons are shown. By clicking on the "subscribe" button a event will be subscribed by calling Helper.subscribe. If the "dates"-button is clicked the SearchResultSingleEventActivity is started and shows all SingleEvents that belong to the chosen Event.


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