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
response.

I am trying out various approach like onConfigurationChanged() etc for
handling screen orientation. Though its reflect the xml(landscape)
from the res folder but values are not populated in the gridview

On Oct 24, 8:58 pm, Studio LFP <[email protected]> wrote:
> 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). If you are
> using configChanges, you will need to repopulate your views if you change it
> on one of the onConfigurationChanged events.
>
> Steven
> Studio LFPhttp://www.studio-lfp.com
>
>
>
>
>
>
>
> On Monday, October 24, 2011 7:58:52 AM UTC-5, Shajahan wrote:
>
> > In the onCreate() method of an activity
> > --> done all the initialization part and also invoked the server using the
> > HTTP connection, to get the images
> > --> am using the onConfigurationChanged() of an activity to get the handle
> > of the Screen Orientation
> > --> but when it is rotated from horizontal to Vertical (vice-versa) new xml
> > for landscape view getting reflected but the not values in the gridview

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to