Note:Android中DialogFragment一些重要方法的执行顺序

RT:具体看文档,贴在这里只是这了方便自己查找。当然理解之后可能就不需要来查看了。
01-17 11:09:06.910: I/TermSubjectListFragment(322): ======>onAttach
01-17 11:09:06.910: I/TermSubjectListFragment(322): ======>onCreate
01-17 11:09:06.910: I/TermSubjectListFragment(322): ======>onCreateDialog
01-17 11:09:06.910: I/TermSubjectListFragment(322): ======>onCreateView
01-17 11:09:06.940: I/TermSubjectListFragment(322): ======>onActivityCreated
01-17 11:09:09.081: I/TermSubjectListFragment(322): ======>onCancel
01-17 11:09:09.101: I/TermSubjectListFragment(322): ======>onDestroyView
01-17 11:09:09.101: I/TermSubjectListFragment(322): ======>onDestroy
01-17 11:09:09.121: I/TermSubjectListFragment(322): ======>onDetach

你可能感兴趣的:(Note:Android中DialogFragment一些重要方法的执行顺序)