I save my text data in a sqlite database, I am able to store them, read them and etc.
To load it in The app I do something like this in
I guess you cannot store a formatted text in your data base. There is no way for it to what I know. However, you can format your text for the label using the FormattedText
property of the Label and setting FormattedString
.
Refer Xamarin documentation here for more details.
Refer below example code.
As of now the only way to store formatted text in your database would be to format it using HTML and save it. You can use the Display HTML feature of Label to render that in UI. Documentation details here.
Refer below code more reference.