The framework calls all onXxx() functions. The fragment manager will take care of calling the right things at the appropriate places based on what you commit and the hosting activity lifecycle.
On Wed, Mar 9, 2011 at 5:16 AM, sandy <sandhyasee...@gmail.com> wrote: > Can you tell me Who is it responsible for creating fragments i.e who > will call onCreateView()..etc functions? Is it taken care by Fragment > Manager or Activity Manager?? And is it True that > fragmentTransaction.commit() is the function responsible for creating > fragments means is it that function after which fragment's > lifecycle's functions will be called? > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en