I have made a folder named "files" in the package of my app.
Now I want to create a text file in that folder on the click of button.
The file should open in append mode and a List or ArrayList should be written in that file.
Also how do I read ArrayList from that file and print it?