fragment中的onCreateView和onViewCreated的区别和 (1) onViewCreated在onCreateView执行完后立即执行。 (2) onCreateView返回的就是fragment要显示的view。