开发者

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" 
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜