1
Answer

How to store listview items in txt file and to retrieve from txt file?

sarada

sarada

15y
5.5k
1

Hi,

I am using listview to store items.I want to display 10 items in listview when it is opened,but now items are inserting,once the application is closed they are erasing.I am using arraylist to store items,but iam not using database connection.so i want to store items in a txt file and from the txt file i want to retrieve items and display in listview.How is it possible?Give a sample

Answers (1)