com.main.campustream
Class NewsList

java.lang.Object
  extended by ListActivity
      extended by com.main.campustream.NewsList

public class NewsList
extends ListActivity

Author:
Bryan Crabtree

Nested Class Summary
 class NewsList.NewsAdapter
           
 
Field Summary
 OnItemClickListener newsListListener
          Click listener for the list view.
 OnItemLongClickListener voteListListener
          Long press listener for the list view.
 
Constructor Summary
NewsList()
           
 
Method Summary
 void onClick(View v)
           
 void onCreate(Bundle savedInstanceState)
           
 void OpenNews()
          Opens the acted upon news or event item.
 void refreshList()
          Refreshes the list.
 void SubmitNews()
          Opens a dialog for submitting news or event items.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

newsListListener

public OnItemClickListener newsListListener
Click listener for the list view.


voteListListener

public OnItemLongClickListener voteListListener
Long press listener for the list view.

Constructor Detail

NewsList

public NewsList()
Method Detail

onCreate

public void onCreate(Bundle savedInstanceState)

onClick

public void onClick(View v)

refreshList

public void refreshList()
Refreshes the list.


OpenNews

public void OpenNews()
Opens the acted upon news or event item.


SubmitNews

public void SubmitNews()
Opens a dialog for submitting news or event items.