Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Android™ Runtime Development

Reply
New Contributor
cultofdanurag
Posts: 7
Registered: ‎02-04-2013
My Device: BlackBerry Curve 9360
My Carrier: Airtel

Is there a possible way to rotate the screen layout without having the page to reload

I am facing a problem of page reload whenever i rotate my screen. Is there a way to stop it??

Please use plain text.
Regular Contributor
Fraggle222
Posts: 84
Registered: ‎01-31-2013
My Device: Simulator !!!
My Carrier: 8608800458

Re: Is there a possible way to rotate the screen layout without having the page to reload

Sounds like a standard Android issue unrelated to BB10, so post to stackoverflow if you want an answer quickly. I believe there is a way to do it.

Please use plain text.
Developer
ndsmyter
Posts: 648
Registered: ‎09-26-2012
My Device: Limited Edition Z10, Playbook 16GB/32GB, Dev Alpha A/B/C
My Carrier: Mobile Vikings

Re: Is there a possible way to rotate the screen layout without having the page to reload

Rotating is always seen as a page refresh on Android. Normally this should go pretty fast if you cached your information correctly.

You should not use the onCreate method of your activity to load the information, the information should be loaded in a different place. But I suggest you have browse through some tutorials how you can do this. As this is not that easy to explain.

Or as Fraggle222 suggested, find your answer on site like StackOverflow. I even think there will probably already some (answered) questions concerning this problem.


A like is always appreciated,
but a nomination for BB Elite even more :-)
You can also contact me on Twitter: @ndsmyter
Please use plain text.