Add unregisterReceiver to onPause.
Fix header bug.
Add reading and writing to internal storage.
Partially add use of cached data to populate menu.
Add use of internal storage data if not connected.
Renamed RestarauntMenuHolder -> RestaurantMenuHolder
Added error checking for opening the app the first time without a connection. InternalStorage was trying to get a reference to a file location that did not exist.
Added error page for when there is no network and no data cached. There is a button to restart the app once the user has enabled wifi/data
Added a progress bar in the splash screen. The data fetches pretty fast, so won't be able to catch the progress bar. Updated the text on the error page
Add functionality for "Store Data" checkbox.
If the box is unchecked, the cache files are deleted upon next startup.
Removed test code "Thread.sleep(3000);".
Error checking for crashes. Previously, the mainscreen was started regardless of whether the background task completed. That was the reason for the crashes. Fixed that bug by starting the intent only after the background thread has completed. Not required while loading data from cache, because we don't do that in the background.
Fixed connection issue with incorrect toasts.
Added checks for the progress dialog when the activity is paused.
Fix "Store Data" checkbox issue.
Merge branch 'DEV_1.1' of https://github.com/shamak/FoodMenuUW into DEV_1.1
Error checking for crashes. Previously, the mainscreen was started regardless of whether the background task completed. That was the reason for the crashes. Fixed that bug by starting the intent only after the background thread has completed. Not required while loading data from cache, because we don't do that in the background.
Added checks for the progress dialog when the activity is paused.
Fix "Store Data" checkbox issue.
Merge branch 'DEV_1.1' of https://github.com/shamak/FoodMenuUW into DEV_1.1