You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On page 7, the codelab instructs to create a DataStore by using the by dataStore delegate:
privatevalContext.userPreferencesStore:DataStore<UserPreferences> by dataStore(
...
by dataStore is part of a different library. androidx.datastore:datastore:1.0.0. The instructions on page 5 need to be updated to import datastore instead of datastore-core.
On page 5, the codelab instructs you to add the following dependencies:
On page 7, the codelab instructs to create a
DataStore
by using theby dataStore
delegate:by dataStore
is part of a different library.androidx.datastore:datastore:1.0.0
. The instructions on page 5 need to be updated to importdatastore
instead ofdatastore-core
.The
proto_datastore
branch already includes the correct dependency.The text was updated successfully, but these errors were encountered: