android / codelab-android-datastore

Apache License 2.0
228 stars 105 forks source link

missing dependency #60

Open n81ur3 opened 2 years ago

n81ur3 commented 2 years ago

The usage of the dataStore function also requires the "datastore-preferences" dependency in build.gradle:

implementation "androidx.datastore:datastore-preferences:1.0.0"

Abhimanyu14 commented 1 year ago

The required dependency is already added to the "preference_datastore" branch.

The "master" branch shows the code before adopting the data store.