This will cause app to go into offline mode if no network at startup. Orientation change and keyboard-hidden will only cause configuration change, not destroy and recreate activities. This avoids having orientation change pull file from remote. Closes #163
Warning and no login dialog if no network. Need network for first login. Will not try and sync even on command if no network. Will not leave offline mode if no network. Moved some code in TodoTxtTouch.java into methods to clarify what it did Closes #145
…ts usages. Deleted RemoteFactory in favor of RemoteClientManager. Fixed an issue with relative dates when there was a mix of dated tasks and non-dated tasks
* Also hide sync options menu button (fix for previous commit)
RemoteClient is interface for authentication RemoteTaskRepository is interface for sync (can be same impl as client) TodoApplication holds TaskBag and RemoteClient TaskBag holds the RemoteTaskRepository (got from RemoteClient) Create empty file and lose local changes if no remote file Offline mode should be as easy as not loading remote file and not storing tasks to remote file, and then pushing to remote without loading from remote first.
Implementation of TaskBag which handles all read/write operations of local and remote stores. This structure will make it easier to add more features in the future, like local offline use only, done.txt support, other remote services. Closes #134