... Activity ,此時呼叫 getActivity 將不會返回 null ,但是 Activity#onCreate 可能還有沒有執行。 onCreate(Bundle) 用來初始化 Fragment 。可通過引 ...
確定! 回上一頁