2

I have a listview that displays categories from my server. It works fine but when i change orientation it reloads it...

What should I do to avoid reloads ?

Thanks.

Rachel Gallen
  • 27,943
  • 21
  • 72
  • 81
Piyush
  • 2,589
  • 6
  • 38
  • 77

1 Answers1

5

You could prevent this by adding android:configChanges="orientation" to your activity in AndroidManifest file.

Check this out.

Community
  • 1
  • 1
SteD
  • 13,909
  • 12
  • 65
  • 76