Fragments restore state on orientation changed

前端 未结 1 1308
故里飘歌
故里飘歌 2021-01-17 15:05

I have to implement \"standart\" fragments navigation in my app (please see link).

The issue is when device is in portrait mode, there should be shown only 1 fragmen

1条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-17 15:33

    Just follow this mate http://developer.android.com/guide/components/fragments.html. Dont make fragments static (thats just wierd)

    0 讨论(0)
提交回复
热议问题