at com.hy.taotao.base.BaseFragment.onCreateView(BaseFragment.java:59) ... Caused by: java.lang.reflect.InvocationTargetException at java.lang.reflect.Constructor.constructNative(Native Method) at java.lang.reflect.Constructor.newInstance(Constructor.java:417) ...
大部分應(yīng)用程序都應(yīng)該至少為每個fragment實現(xiàn)這三個方法,但是還有許多其他用以操縱fragment生命周期中各個階段的回調(diào)函數(shù)。所有生命周期中的回調(diào)函數(shù)在操縱fragment生命周期一節(jié)中稍后再做討論。 There are also a few subclasses that you might want to extend, instead of the base Fragment class: ...