0

I can not able to understand this sentence in android documention. Since it is saying

When the screen orientation changes the system will, by default, destroy the current activity.

and it also saying

create a new one while preserving its state.

but actully it is contrary. How could it be? Can anybody explan to me.

Vivek
  • 3,722
  • 6
  • 33
  • 49

1 Answers1

2

Refer this Retaining an Object During a Configuration Change
And Activity restart on rotation Android where it discussed in detail

Community
  • 1
  • 1
Labeeb Panampullan
  • 32,561
  • 26
  • 89
  • 111