I’m new to Android dev, and I recently added my first contribution to ThumbKey (the Key Modifications feature).

I noticed that ThumbKey saves user settings using a Room database rather than using DataStore, or its outdated equivalent SharedPreferences.

Why is that? What’s the advantage?

  • Dessalines@lemmy.mlM
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    6 days ago

    You can use either, but I will never use anything but SQL-type databases for data storage. I’ve been burned too many times with alternative data storage methods that didn’t think through all the problems sql devs have dealt with for decades.