Craig-Macomber/WeatherOracle — pull request #127 by Tim727 (2012-05-15 00:29:18+00:00)
Title: Implemented usage of currentFilterName static field and also moved most of savebutton listener finctionality into edit text listener. See comment ...

...s

previously in the save button listener. Also, the code is now making use
of the static field "currentFilterName" instead of filter.getName(). The
edit text listener now only updates the value of currentFilterName if the
name entered passes all the checks (many of which were previously in the
save button listener). This means that the save button listener is now a
lot more simple. All it needs to do is check if the currentFilterName
field is set ... and if it is then it knows that it has a valid name. It
can then update the static "filter" field to have this same name and can
add that filter to the filter list.