[go: up one dir, main page]

I鈥檓 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鈥檚 the advantage?

  • Dessalines@lemmy.mlM
    link
    fedilink
    arrow-up
    2
    11 months ago

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