Fragment中也有onSaveInstanceState()方法用来保存Fragmnet的状态。
然后可在onCreate(), onCreateView(), or onActivityCreated()三个方法中恢复状态。