Kjven/eece310_app — pull request #5 by Muserk (2014-03-20 03:26:45+00:00)
Title: Gavin - Implemented Scraper Class, Interfaced with Graph, Implemented TideApplication, superActivity

Re-structured the App, interfaced Scraper with Graphs, fixed some bugs with the Scraper, began writing some test cases.

To understood the data-flow:
The TideApplication class extends Application. It is used to store all global information (information that may need to be shared across multiple Activities).
TideApplication is being used to hold a reference to the current Activity, as well as current Graph View. By current, I mean the Activity that is in focus.
This allows the Scraper class to update the current activity without hardcoding anything.

In order to set the currentActivity and currentGraph, an abstract class superActivity exists. MainActivity, and any other Activity we add to the app, should now extend superActivity. superActivity gives each Activity a way to update the global variables.