forked from iamovrhere/CurrencyConverter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restruct. prefs, fixed MainFragment's date setting, & other edits
[Ref]: Merged settings_info, strings_auth, update_periods into strings_config.xml [Mod]: Reworked the PreferenceUtil and Preference structure; no more boxing, now only default preferences. More importantly, update interval is now a String which can be readily parsed via the fetch method: getUpdateInterval(Context). [Ref][Mod]: ExchangeRateUpdateLoader restructured to appropriately: - Use the correct JSON preference - Moved the set/get the update time to PreferenceUtils [Rea]: Minor simplification of CurrencyCursorAdapter output. [Mod]: Added method CurrencyCalculator to calculate + format conversions. [Rea][Mod]: Update the MainFragment's flow: - Remove some dead code/comments - Moved calculation/formatting of conversion to CurrencyCalculator - Fixed the date formatting - Fixed the times the progress bar shows/hides
- Loading branch information
1 parent
59ed41f
commit ce032ef
Showing
14 changed files
with
353 additions
and
287 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.