Android Network operation -
i have question regarding network operation in android application, if suppose have async task in application downloading data server via rest apis.
my questions
- while async task being executed if user presses home button happens network operation?
- if again start application need execute network operation again?
no, don't have execute network operation again, have handle correctly activity lifecycle (because not automatically case asynctask).
i suggest read paper : http://www.vogella.com/tutorials/androidbackgroundprocessing/article.html#concurrency_asynchtask3
Comments
Post a Comment