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

  • SEARCH
  • Home
  • 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 8012791
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T19:26:19+00:00 2026-06-04T19:26:19+00:00

I am still fairly new to understanding android and heard about activity stacks. From

  • 0

I am still fairly new to understanding android and heard about activity stacks.

From what I read and understood was that it creates stack as you progress to each activity and leaves it behind as a stack item.

My question are:

  • Would removing an activity stack cause android to save more memory? eg. such as activity that has a lot of images.

  • Would it be better to remove activity stacks knowing that you want them to start from scratch in the first place?.

If there is anything that has to be corrected on my second sentence please mention it as well.

  • 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-04T19:26:21+00:00Added an answer on June 4, 2026 at 7:26 pm

    Would it be better to remove activity stacks knowing that you want them to start from scratch in the first place?.

    The activity stack back stack is important because it allows a means of back navigation from screen to screen. Without it, there would be no “back button” navigation and the concept of a “task” wouldn’t exist. Android is optimized to manage memory for you (see the documentation on the Activity lifecycle). Activities that are placed on the back stack are still managed by the system; so long that you don’t do anything stupid, there shouldn’t be any problem. 🙂

    Would it be better to remove activity stacks knowing that you want them to start from scratch in the first place?.

    I’m not sure I’m understanding this question correctly, but the answer is most likely “no”. If you want to start from scratch (i.e. clear the back stack), then you can use the FLAG_ACTIVITY_CLEAR_TOP flag when launching your new Activity.

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

Sidebar

Related Questions

I'm still fairly new to Python, and my OO experience comes from Java. So
Still fairly new to android. I am trying to learn how to create a
So I am still fairly new to all of this, that is coding, OS
Still fairly new to android, wondered if anyone can help... I have an App
Im still fairly new to Django, so please explain things with that in mind.
still fairly new to matlab, picked up this data analysis code from someone and
Still fairly new to django and python. I've defined two nearly identical models that
I'm still fairly new to Obj-C and the idea of blocks. I read this
I'm still fairly new to SQL and I'm not fully understanding where the problem
I'm still fairly new to PInvoke calls, so I'm hoping that someone out there

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.