fragment中的onCreateView和onViewCreated的区别和

(1)  onViewCreated在onCreateView执行完后立即执行。

(2)  onCreateView返回的就是fragment要显示的view。

原文地址:https://www.cnblogs.com/JasonLGJnote/p/11876172.html