這裡需要注意,並沒有調用Fragment1的onDetach方法;最後Fragment2依次執行了onCreateView、 onActivityCreated、onStart和onResume方法,和上面的Fragment1從創建到顯示 ...
確定! 回上一頁