OnCreateView called multiple times / Working with ActionBar and Fragments

前端 未结 2 1907
名媛妹妹
名媛妹妹 2020-12-01 00:00

I switched part of my App from Activities to Fragments so that I can use the neat ActionBar tabs.

However, after completing the transition I ran into an issue: whene

2条回答
  •  无人及你
    2020-12-01 00:31

    There is the show/hide option just so the fragments would not need to be repainted/recreated and the onCreate() and onCreateView() won't be reinvoked.

提交回复
热议问题