Issue
I have a listview having three fields , but I don't know how to save my listview in android
and fetch it back when user open app and display it.
I want to show the data saved in listview and I have to save the new data which user enter into my listview.
Solution
As per your requirment, there is no direct way to store list view, but you can store the data in the list view and you can set it in to the ListView later, for that you have to use Sqlite Database, refer official documentation of sqlite here, also check out this example.
read this example too (ListView of Data from SQLiteDatabase )
Answered By - droidev
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.