How to save each dynamic label.text by index after any web got text in dynamic component extension

How to save each dynamic label.text by index after any web got text in dynamic component extension

i have a quiz app

my problem is in offline mode (online mode working correctly)

as you know ..the event when any got Web got text .. the event still getting text to the end of the list that using in dynamic component that the any web component get inside it ..

no problem in dynamic component

the dynamic component contain card view ..and other dynamic component like labels

one of label(i mean label by tag..) first the text will be = empty
and this label is must be hidden not visible ..

after got text .. this label will get a new content(new content is list = must be open in another specific quiz screen)
everything now working in online mode ..
but I want in offline mode how to save the last content of labels at least to be open in the main dynamic label component (any got text not working in offline mode..) please help

i want to make variable after any got text to save the last content of each dynamic labels to be also in the offline mode be each label has the last content (content after got text ..)

:sad_but_relieved_face::slightly_smiling_face:

to work in offline, your quiz question first must be saved in tinydb. in the schreen inti it self set the blocks such if there is no internet then move the dynamic creation procedure into this screen inti.

yeah i know
but in my case
all quizzes loaded at the same time and when any got text = each quiz result list go as label.text without saved in tiny dB directly so I want another way

To save data locally, you don’t have many choices TinyDB, local file, or SQLite.