question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Change `UserData` to `UserPreferences`

See original GitHub issue

“Preferences” more accurately describes the data this model contains.

Also requires changing the *UserDataRepository objects to *UserPreferencesRepository

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
MohNage7commented, Oct 31, 2022

@dturner renaming UserData to UserPreferences will conflict with com.google.samples.apps.nowinandroid.core.datastore.UserPreferences that’s generated by user_preferences.proto I think we should pick another name 🤔

0reactions
dturnercommented, Nov 2, 2022

Thanks for the suggestions. I’m inclined to leave as-is for now. It’s likely that we’ll store other information here in future and UserData is generic enough to accommodate that.

Read more comments on GitHub >

github_iconTop Results From Across the Web

UserDefaults | Apple Developer Documentation
The defaults system allows an app to customize its behavior to match a user's preferences. For example, you can allow users to specify...
Read more >
User Preferences - Reasons for Change
ID; Active - When a reason for change is active, it can be selected as a reason for change when modifying user data...
Read more >
How to store user data in Electron - Cameron Nokes
Most Electron apps need some sort of way to save user data. This could be user preferences (e.g. show/don't show notifications) or some...
Read more >
Detecting Changes in User Preferences using Hidden Markov ...
We propose a HMM-based approach to change point detection in the sequence of user interactions which reflect significant changes in preference ...
Read more >
Storing user settings with UserDefaults - a free Hacking with iOS
One common way to store a small amount of data is called UserDefaults , and it's great for simple user preferences. There is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found