Hello guys!
Lets say I have a Textarea which contains automated generated text. I need 2 buttons where the first one saves all of its content on the storage device into a *.txt file. The second button will then delete this file (if exists). The third thing is that when i force-close my app and re-open it, the app should check when started if this *.txt file exists, if thats true it should read the content and directly fill my Textarea again. I tried several things and snippets but i can’t seem to really get this working…
Is there someone who can shortly show me the 3 (or more) functions I need to implement in order to archieve ‘save function’?
Thank you!
Kind regards,
Marco