How to prevent restarting of the application when tab's position is turned (horizontal to vertical or vice versa)?
I am working on Travel app. I'm fetching data from gps and displaying it on the screen. The data vanishes when I turn my tab's position to horizontal or vertica开发者_开发知识库l.
Thank you
use configChanges in the manifest
android:configChanges="keyboardHidden|orientation"
精彩评论