android - Sending request oncreate vs onresume -
When I send a request to my check link that contains the onCreate () method, I get
There is a NetworkManthreadException exception , but when I send a request to the
onResume () method, it works well. What is the difference? Is there any independent thread for the
onResume method or what?
OnCreate () method & amp; Do not attempt to call or request to send
OnResume () method always from the main thread to the network to the main thread or UI thread Do Always check the background service by checking the Async Task Check link for it also to help it.
Comments
Post a Comment