codelab-android-datastore icon indicating copy to clipboard operation
codelab-android-datastore copied to clipboard

Mixup between UserPreferences and Preferences in chapter 6

Open Tommy0304 opened this issue 3 years ago • 1 comments

class UserPreferencesRepository( private val userPreferencesStore: DataStore<UserPreferences>, <-- this. should be Preferences context: Context ) { ... }

also, hard to follow. The student does not know where to insert the new code, therefore it leads to unexpected errors

Tommy0304 avatar Aug 06 '21 08:08 Tommy0304

Thank you, this is noted, fix is underway. Closing in favor of #45 which has better description.

mmoczkowski avatar Sep 09 '22 18:09 mmoczkowski