What are the differences between onCreate() , onCreateView() , and onActivityCreated() in Fragments and what would they each be used for?
What are the differences between onCreate() , onCreateView() , and onActivityCreated() in Fragments and what would they each be used for?
The main differences between onCreate(), onCreateView(), and onActivityCreated() in Android Fragments are:
onCreate(Bundle savedInstanceState):
onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState):
LayoutInflater.Đăng nhập để tham gia thảo luận cùng mọi người.
Chưa có bình luận nào
Hãy là người đầu tiên chia sẻ suy nghĩ của bạn.