Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Refresh When person rotates the handset

 
Rahul Juneja
Ranch Hand
Posts: 425
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Suppose there is an application where a person is watching some text and images in portrait view and at the same time the application is loading at the bottom. Now if the user rotates his/her screen to landscape then how can i preserve the state as Android is saving the state and also how do i need to continue loading the app.
 
Anthony Agustin
Greenhorn
Posts: 3
Android Firefox Browser Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you try the onConfigutationChanged(Configuration) method from the Activity class?
Read more about it here.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic