-
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.
GibQuote v2.6.5 | Linting | CommonUtil{s,Service}
** Resolve some warnings raised by the Android Linter ** Move static functions `addtoFavQuotesList', `removeFromFavQuotesList', and `shareQuote' under a Utility class : utils/CommonUtils - Usages of these utility functions in different classes has been changed appropriately * Create a service to make use of this utilities, when used by QoTD notification - services/CommonUtilService * MainActivity: - Consider the UPDATE_CHECK boolean before checking for updates, forgot to add * fragment/GibQuoteFragment: - Don't log quoteJson string, it might be big at times, no LogSpam pls * utils/SomeBroadReceiver: - Add action 'COMMON_UTILS' to handle Notification Dialog broadcasts - i.e. 'Share' and 'Fav This' actions in Notification * utils/Updater: - JavaDoc-ify it (I think this could become a standalone library) - checkForUpdates: I'm bad with if-booleans ;-; - if-boolean statements should be fine now - Bring in constructDialog to createDialog (it's unnecessary) * utils/notifications/NotificationUtils: - Add Notification Actions to share and fav QoTD - Send a Broadcast to `SomeBroadReceiver' with 'COMMON_UTILS' action - Add two Extras - 1. The Quote, in serialized way (common for both actions) - 2. The Method to be executed (share/Fav) * res/layout/activity_notification_dialog.xml: - Some Layout changes Signed-off-by: a7r3 <arvindultimate7352@gmail.com>
- Loading branch information
Showing
23 changed files
with
220 additions
and
175 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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 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 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.