Regardless of which way you choose to go, configChanges or not, you'll want
to cache any response you receive via HTTP. There are a lot of ways to
cache these items. You could use static variables, save them temporarily
to files on the internal or external (SD Card), add them to a database,
Hi Steven,
Thanks for the response.
I wanted to know, whether is there any approach to handle this
situation.
I don't want to invoke the HTTP connection every time on the
onCreate() method for screen orientation(intentionally or
unintentionally by the user)because then that's beats the user
Are you repopulating the information into the new layout you are switching
to?
Regardless of if you use configChanges or not, you need to repopulate your
view. This is automatically invoked without configChanges since your app
interface is removed and remade (calling onCreate again for you).
3 matches
Mail list logo