Changed the type in the database. Now it uses the id returned by the Google Place API as the primary key.
Modified the DBAdapter to return a hashmap of restaurants instead of a list of restaurants. In the session include it as part of the user data which is retrieved when the session starts. In the same class, use it to check if a new restaurants has been returned or not.
Modified the Session and errors to return restaurants on the offline mode
Modified the error message when there is not Internet connection.
Modify the map fragment to display the list of restaurants offline
Modified the list fragment to show the elements on Offline mode.