Android Open Source - deborsi-notes Item List Activity

From Project

Back to project page deborsi-notes.


The source code is released under:

GNU General Public License

If you think the Android project deborsi-notes listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package ca.ualberta.cs.deborsi_notes;
//from  www. ja  va 2 s.c  o m
import android.widget.ArrayAdapter;
import android.widget.ListView;

// sets managers, adapters required to create an Item List

public class ItemListActivity extends Activity{
  // ItemListActivity class contains all variable declarations
  protected static final String itemFile = "itemList.sav";
  protected static final String archiveFile = "archiveList.sav";
  // Items entered by the user is stored in these ArrayLists
  ItemList ActiveList;
  ItemList ArchiveList;
  // Both the lists are managed by their respective managers
  ItemListManager activeManager;
  ItemListManager archiveManager;
  // Declaring an ArrayAdapter to set items to ListView
  ArrayAdapter<Item> listAdapter;
  ListView ListView;

Java Source Code List