TrevorEdwards/bigredapp-android

Storage method

Closed this issue · 1 comments

According to http://developer.android.com/guide/topics/data/data-storage.html#pref,

Shared preferences are not strictly for saving "user preferences," such as what ringtone a user has chosen.

Shared Preferences seems to be perfect for the amount of storage we'll be doing (very little, it's just a JSON Array of dining halls, their ~3 calendar events, and their ~15 menu items (tops)).
It will nicely keep the items in memory, and we won't have to deal with either (A) building a SQL database - which seems like total overkill or (B) having to do writes and reads from a file.

I'm gonna move forward with this for now, just thought I'd open discussion about it just for good measure.

Closing for now. We are going to worry about caching later.