Commit Graph
10 Commits
Author SHA1 Message Date
Bennet Brunsen fc1450a533 Implemented refresh option in regatta activity
Implemented another observer pattern in RegattaFragment and
RegattaActivity.
Added option item in RegattaActivity. Added new strings for refresh
option.
2015-03-12 10:55:55 +01:00
Bennet Brunsen 2573e96165 First part of regatta reloading at open
Regatta data is reloaded in oncreate of RegattaActivity.
2015-03-11 15:34:04 +01:00
Bennet Brunsen 613f8fc8f9 Implemented database access for url string 2015-03-11 12:19:44 +01:00
Bennet Brunsen 2b5b3c764a Merge branch 'ubilabs--tracking_app--refactoring--home_fragment' into ubilabs--tracking_app--develop 2015-03-11 10:23:30 +01:00
Bennet Brunsen ff9b04a40a Refactoring Part 3
URLData is now initialized inside extractRequestParametersFromUri.
Method extractRequestParametersFromUri only has one return statement
now.
2015-03-11 10:20:42 +01:00
Bennet Brunsen 752ce2d1e5 Refactoring part 2
Extracted methods from the huge callServerAndGenerateCheckinData
method. Each server request is inside an individual method. Introduced
anonymous class URLData. URLData is used to share data between Network
requests instead of lots of final string objects. Improved readability
of CheckinManager class.
2015-03-10 18:03:20 +01:00
Bennet Brunsen afae686928 First part of refactoring
Extracted CheckinMangaer logic from HomeFragment. Introduced new
Interface inside CheckinManager. Introduced new abstract activity
CheckinDataActivity. Classes that inherit from CheckinDataActivity
implement a notification method. See GoF Observer Pattern.
2015-03-10 15:01:24 +01:00
Bennet Brunsen a5be6bf0fa Merge remote-tracking branch 'origin/ubilabs--tracking_app--develop' into ubilabs--tracking_app--develop 2015-03-09 14:14:19 +01:00
Bennet Brunsen a64b9baee8 Merge branch 'ubilabs--tracking_app--fix--warnings' into ubilabs--tracking_app--develop 2015-03-09 12:24:44 +01:00
Bennet Brunsen 98235dcf37 Fixed warnings.
Fixed warnings, by calling the right versions of the API. Added
SuppressLint, if the warning had no easy fix.
2015-03-09 12:21:54 +01:00