I have built my app, it basically parses some XML data from a web site. When I run it for the first time it gets the data, then the XML gets changed and I run the app again but it does not override the current data. How can I override them?
Thanks
I have built my app, it basically parses some XML data from a web site. When I run it for the first time it gets the data, then the XML gets changed and I run the app again but it does not override the current data. How can I override them?
Thanks
You should read up on the activity lifecycle. From the limited information given, it seems like you may want to write code for onPause
and onResume
.
At any rate, providing more context for and information about your question will definitely lead to better answers :-)