java - How to keep save, update and view local data on Android? -


i'm downloading list of town , city names server json file , parse them become objects/strings. need download data once when app launched first time after download, save data local storage of android device used fill spinner (dropdown/combo box) menus , update data when user wants to/needs to. best way implement this?

as mentioned in comments -

you can save in sqllite db if using it. if not data , app doesn't use sqllite anywhere, might seem lot of work , can save in sharedpreference well. dont try store data in shared preference


Comments

Popular posts from this blog

html - How to custom Bootstrap grid height? -

javascript - pass values from mssql to views in node -

image - python get coordinates (pixels) of corresponding points from clicks -