I have one app that , when starting at the first time, needs to do many requests to a remote server to eventually upgrade some parameters and data in user interface (even in some resumes this requests are also interesting to avoid the needing of finishing the activity to refresh data)...
I noticed some freezing when opening the activity due these background services and think that it's something related to the time between httputils post requests and answers... the gui doesn't depends on the results of services. There is a local database and the background services will only update this database (and request a callsub, if the respective activity is not paused).
But the user experience is a little bit compromised with the "small freezing events"... Is this happening because the httpjob runs in the same thread? If yes, is there any workaround?
I noticed some freezing when opening the activity due these background services and think that it's something related to the time between httputils post requests and answers... the gui doesn't depends on the results of services. There is a local database and the background services will only update this database (and request a callsub, if the respective activity is not paused).
But the user experience is a little bit compromised with the "small freezing events"... Is this happening because the httpjob runs in the same thread? If yes, is there any workaround?