单项选择题

加载fragment的activity在oncreated()结束后,fragment首次调用的方法是()

A.onCreate()
B.onAttach()
C.onCreateView()
D.onActivityCreated