CMPUT301W13T06 / classproject

RecipeBot
http://cmput301w13t06.github.com/classproject/
2 stars 6 forks source link

Cache Recipes #15

Closed f2prateek closed 11 years ago

f2prateek commented 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

f2prateek commented 11 years ago

See #11