在哪里可以访问 getContext() 中的 Fragment ?我的意思是,它不是null且可以使用(例如,用于控件创建)。是 onAttach , onCreateView 还是 onActivityCreated 吗?
確定! 回上一頁