0

Hi dudes I developed one app to display friends on Map view working fine but while changing orientation re executing its taking time how overcome this problem? Thanks in advance.

2 Answers2

2

To stop re-creation of Activity add

android:configChanges="keyboardHidden|orientation"

in your tag in AndroidManifestFile.

Lalit Poptani
  • 66,608
  • 21
  • 157
  • 241
0

Prohibit orientation change or you can do you crucial initialization only once and save app state in bundle object.