0

when i set android target below 13 then the android configchanges attribute work fine means on create method not call, but if i set target version 13 and above then android config Changes attribute does not work and oncreate method recall on change of orientation.

1 Answers1

0

For target sdk 13 and above the recommended attribute is

android:configChanges="orientation|screenSize"
Brijesh Thakur
  • 6,768
  • 4
  • 24
  • 29