new project ScrollTabs2 (copy ScrollTabs)
FragmentA lifecycle

本次的觀察重點:
程式執行時,從FragmentA移到B再到C,會發現經過onPause,
onStop階段,但是夾在他們中間的onSaveInstanceState並沒有被執行,這代表如果有資料在FragmentA下載,此時從FragA=>B=>C,經過了onPause,onStop,onDestroyView,
這時資料沒載完就會被斷掉了.
FragmentPagerAdapter =>FragmentStatePagerAdapter

本次觀察重點:
從FragA=>B=>C
onSaveInstanceState這次會被呼叫了,所以資料可以暫存在此.
這次多了onSaveInstanceState,onDetach,以及往回拉的時候onCreate SUBSEQUENT TIME.
順序為:
onAttach,
onCreate FIRST TIME,
onCreateView,
onActivityCreated,
onStart,
onResume,
"onSaveInstanceState",
onPause,
onStop,
onDestroyView,
onDestroy,
"onDetach"
android.support.v4.view.PagerTitleStrip , getPageTitle