Closed f2prateek closed 11 years ago
References Issue #003
Story(optional): As a user, I want to have some recipes cached so that I don't need the internet to work for me to use this program.
Description: App can cache recipes, so that we don't need an active connection.
Actor: App, User
Precondition: User has seen this recipe before, or saved it
Trigger: Every time user explicitly sees a recipe
Basic Flow:
1. User sees a recipe 2. App caches the recipe
Note: App should cache the recipe automatically using a DiskLruCache. When user saves a recipe, we should save it to a different cache or the filesystem (Don't put them in the DiskLruCache since they may be overwritten). Also look at at https://developer.android.com/reference/android/net/http/HttpResponseCache.html
See #11
References Issue #003
Story(optional): As a user, I want to have some recipes cached so that I don't need the internet to work for me to use this program.
Description: App can cache recipes, so that we don't need an active connection.
Actor: App, User
Precondition: User has seen this recipe before, or saved it
Trigger: Every time user explicitly sees a recipe
Basic Flow:
Note: App should cache the recipe automatically using a DiskLruCache. When user saves a recipe, we should save it to a different cache or the filesystem (Don't put them in the DiskLruCache since they may be overwritten). Also look at at https://developer.android.com/reference/android/net/http/HttpResponseCache.html