Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9017389
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T04:15:42+00:00 2026-06-16T04:15:42+00:00

In Android docs, I found a specs on Activity lifecycle and on Fragment lifecycle

  • 0

In Android docs, I found a specs on Activity lifecycle and on Fragment lifecycle individually, but never together. It does not seem obvious as I attached a debugger to FragmentActivity which hosts my fragment, and the life cycle is more than crazy. It looks like activity finishes first and then fragments starts, which is impossible.

Fragment’s lifecycle


Activity’s lifecycle


Logically, fragment should “jump into” activity’s lifecycle after its onResume and it would end before activity’s onPause, but it seems it is not happening.

Can someone either show me the lifecycle of the fragment in connection to its parent’s activity or direct me to some good tutorial on this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T04:15:43+00:00Added an answer on June 16, 2026 at 4:15 am

    Have you seen this? Fragment is created after Activity is created. It doesn’t seem possible for “activity finishes first and then fragments starts” Can you post the code for that?
    This is what I tested, 1 FragmentActivity , two Fragments :enter image description here

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The Android docs for In-app Billing seem to be pretty clear on the following
I found in android docs that Uri is a Uniform Resource Identifier that identifies
Android docs indicate: The order in terms of verbosity, from least to most is
I am working through this tutorial https://developers.google.com/cloud-print/docs/android for google cloud print. I am trying
After following these steps: http://developers.facebook.com/docs/mobile/android/build/ I find that everything goes well, but when I
I want to integrate Facebook with my Birthday App, so I started https://developers.facebook.com/docs/mobile/android/build/ working
In the docs for OpenGL ES 2.0 on Android , it states: Caution: OpenGL
Hi I am trying to do the Spinner Tutorial for the Android. http://docs.xamarin.com/android/tutorials/User_Interface/spinner I
as someone's who's just starting to get into Android/Java programming, I've read the docs
Are there different steps to register an Android Activity as a BROWSABLE intent on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.