What is fragment life cycle in android ??

a) onReceive()
b) onCreate()
c) onAttach()->onCreate() ?> onCreateView() ?> onActivityCreated() ?> onStart() ?> onResume()
d) None of the above

View Answer

c) onAttach()->onCreate() ?> onCreateView() ?> onActivityCreated() ?> onStart() ?> onResume()

Explanation: Every fragment has its own life cycle which is quite similar to the life cycle of its parent activity