What are the benefits and significance of using Preferences() #3585
Answered
by
andydotxyz
junmaqiang
asked this question in
Q&A
-
①May I ask how much data Preferences() can store?②What's the advantage of using Preferences()?fyne.CurrentApp().Preferences()
fyne.CurrentApp().Preferences().SetString(num, "1") |
Beta Was this translation helpful? Give feedback.
Answered by
andydotxyz
Jan 19, 2023
Replies: 1 comment 1 reply
-
The advantage is that you don't have to write any persistence code because it is all provided. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
junmaqiang
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The advantage is that you don't have to write any persistence code because it is all provided.
It also supports data binding out of the box.
The data is not limited in any specific way, though it is all stored in a single file if that matters to your usage?